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

svn+ssh on Windows

From: Artus <svn_at_ArtusKG.DE>
Date: 2004-07-28 17:58:11 CEST

Hi there,

here is something that might be valuable to add to the subversion FAQ:

When using svn with the svn+ssh schema, two error message show up on
serveral machines

"svn: The system cannot find the file specified."
and (after fixing this)
"svn: Connection closed unexpectedly"

Though the problem might be obvious (especially in the first case)
I'd recommend to put a simple solution on the FAQ.

For the first: "svn: The system cannot find the file specified."
The message is completely true - it is lacking the (path to) the ssh
client utility. Set the variable


to point to your ssh client utility (ssh2.exe in case one is using
SSH.com's ssh client and some other if not ;)

"Set SVN_SSH=c:/path/to/ssh2.exe "

[Hint the users that they can specify a username when leveraging the
svn+ssh scheme by the following syntax: svn <command>

When then the svn <command> svn+ssh://... results in the second
error-message clarify that it is in the most cases (especially on
linux subversion server systems) related to the authentication methods
offered by the server in relation to those understood by the client!
In the utmost cases password-authentication was disabled (in favour to
keboard-interactive) on the (linux) ssh server. Just enable

PasswordAuthentication yes

in sshd_conf and reload the ssh server.

Appreciating your comments,

PS: Please cc me as I am not on this list!

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 28 18:22:32 2004

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.