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

Written by Terry Blanchard \\ tags: , , , ,