You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jason Sopko <ja...@sopko.net> on 2005/06/27 18:26:47 UTC

svn: Connection closed unexpectedly (solved)

This is not an error with subversion, but I wanted to report it to the 
list in the event that someone may encounter a similar issue. I was 
using Windows 2000 with cygwin installed as an svn client to connect to 
a subversion repository (running on FreeBSD) and was getting the 
following message when trying to use svn+ssh to connect:

C:\eclipse\workspace>svn list 
svn+ssh://myusername@my.svn.repository.com/usr/local/svnroot
svn: Connection closed unexpectedly


This would happen almost immediately when trying to connect. The problem 
turned out to be the ssh banner that was being presented to my ssh 
client. After removing the banner from sshd on the subversion 
repository, svn+ssh started working without a hitch. Below is a copy of 
the ssh banner i was using on the subversion repository server:


                             ****USAGE WARNING****

This is a private computer system. This computer system, including all
related equipment, networks, and network devices (specifically including
Internet access) are provided only for authorized use. This computer system
may be monitored for all lawful purposes, including to ensure that its use
is authorized, for management of the system, to facilitate protection 
against
unauthorized access, and to verify security procedures, survivability, and
operational security. Monitoring includes active attacks by authorized 
entities
to test or verify the security of this system. During monitoring, 
information
may be examined, recorded, copied and used for authorized purposes. All
information, including personal information, placed or sent over this system
may be monitored.

Use of this computer system, authorized or unauthorized, constitutes consent
to monitoring of this system. Unauthorized use may subject you to criminal
prosecution. Evidence of unauthorized use collected during monitoring may be
used for administrative, criminal, or other adverse action. Use of this 
system
constitutes consent to monitoring for these purposes.


I hope that this helps anyone who may be searching one day for that 
particular error message.

///Jason

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org