Aug 16
Total props go to Ben Christensen for this little gem that had me slamming my head against the wall. If you’re trying to perform a Subversion checkout and getting some meaningless error such as:
svn: To better debug SSH connection problems, remove the -q option from 'ssh' in the [tunnels] section of your Subversion configuration file.
or
svn: Network connection closed unexpectedly.
The simple answer is to delete your known_hosts file in your .ssh folder:
indy:~ terryblanchard$ ls -al .ssh
drwx------ 3 terryblanchard staff 102 Aug 16 23:01 .
drwxr-xr-x+ 29 terryblanchard staff 986 Jul 15 12:59 ..
-rw-r--r-- 1 terryblanchard staff 474 Aug 16 23:01 known_hosts
indy:~ terryblanchard$ rm .ssh/known_hosts
drwx------ 3 terryblanchard staff 102 Aug 16 23:01 .
drwxr-xr-x+ 29 terryblanchard staff 986 Jul 15 12:59 ..
-rw-r--r-- 1 terryblanchard staff 474 Aug 16 23:01 known_hosts
indy:~ terryblanchard$ rm .ssh/known_hosts
September 18th, 2011 at 3:25 pm
I am really impressed with your writing talents and also with the format in your blog. Is this a paid subject or did you modify it your self? Either way stay up the excellent quality writing, it?s rare to peer a nice blog like this one today..
September 28th, 2011 at 5:27 pm
Thanks! I write whenever I get the chance.
November 18th, 2011 at 11:14 pm
Nice blog dad!
December 2nd, 2011 at 1:58 am
Thanks, Alex! You rock, dude!
May 25th, 2012 at 11:33 am
I tried to remove my known-hosts and it didn’t work. I have ssh setup with keys so I do not have to authenticate, but from my reading, that is a normal way to so svn+ssh. Oh well, it was worth a shot. If you have any other ideas, please post.
May 25th, 2012 at 11:39 am
Nevermind. My issue what that I was doing something like
user@host.com:/path/to/repo when I should have omitted the colon and just done user@host.com/path/to/repo
October 30th, 2012 at 3:20 am
I tried to remove my known-hosts and it didn’t work.