[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn+ssh on Windows ("svn: Connection closed unexpectedly")

From: Matthew S. Moore <mmoore_at_asf.alaska.edu>
Date: 2005-02-25 04:05:11 CET

Faller, Gyula wrote:
> - Svn client said "svn: Connection closed unexpectedly"
> The problem was the server was configured by default to send a
> Banner to the client before asking for password.
> The solution was to edit the OpenSSH\etc\sshd_config file to
> disable sendig banner text.

It should be unecessary to disable the banner. Rather use ssh -q to suppress
stderr on the client side.

> I wrote it to help other users to setup svn+ssh on Windows and to note
> that this protocol is very fragile and svn error messages could be very
> cryptic. Maybe if the svn clinet gets some unexpected text under logging
> in it should echo it to the standard error and then ignore it. And when
> it can't find an executable it would be helpful what is the problematic
> command string.

Try using the -q option with the ssh client. If you are using the subversion
command line client add the -q option to the client subversion config file:

ssh = $SVN_SSH ssh -q

If you are using TortoiseSVN, then use TortoisePlink.exe as the ssh client and
then the banner should not be displayed anywhere.

Matthew

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Matthew S Moore                          Alaska Satellite Facility
Configuration Manager                    Geophysical Institute
& Development Engineer                   University of Alaska Fairbanks
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 25 04:07:31 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.