You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Volker Voßkämper <vo...@cenote.de> on 2003/06/18 20:37:36 UTC

svn+ssh fails with 0.24.1

Hello,

This is with Windows client:
---snip----------------------------
D:\Source>which plink.exe
C:\Batch\plink.exe

D:\Source>set | grep SVN
SVN_EDITOR=emacs -nw
SVN_SSH=plink -l root -pw mypasswd

D:\Source>svn ls svn+ssh://s-dev/home/data/svn/repos/test
svn: Network connection closed unexpectedly
svn: Connection closed unexpectedly
------------------------------------

This is with Linux client (on the server itself):
---snip----------------------------
s-dev::~ # svn ls svn+ssh://s-dev/home/data/svn/repos/test
root@s-dev's password: ********
bash: svnserve: command not found
svn: Network connection closed unexpectedly
svn: Connection closed unexpectedly
------------------------------------

But...

D:\Source>svn ls svn://s-dev/home/data/svn/repos/test
branches/
tags/
trunk/
vendor/

normal ssh  session to the server works fine (and svn and svnserve are 
in path)


Thanx

    Volker




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

Re: svn+ssh fails with 0.24.1

Posted by Volker Voßkämper <vo...@cenote.de>.
Philip Martin schrieb:

>That's not relevant, "normal ssh" runs your login script and it
>probably changes PATH.  Try the command "ssh server 'echo $PATH'".
>You may want to set PATH in ~/.ssh/environment.
>
That was exactly what I needed. It works now!

Many thanx for this novice support :-))



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

Re: svn+ssh fails with 0.24.1

Posted by Philip Martin <ph...@codematters.co.uk>.
Volker Voßkämper <vo...@cenote.de> writes:

> s-dev::~ # svn ls svn+ssh://s-dev/home/data/svn/repos/test
> root@s-dev's password: ********
> bash: svnserve: command not found

That's a pretty clear error message.

> svn: Network connection closed unexpectedly
> svn: Connection closed unexpectedly

> normal ssh session to the server works fine (and svn and svnserve are
> in path)

That's not relevant, "normal ssh" runs your login script and it
probably changes PATH.  Try the command "ssh server 'echo $PATH'".
You may want to set PATH in ~/.ssh/environment.

-- 
Philip Martin

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

Re: svn+ssh fails with 0.24.1

Posted by Volker Voßkämper <vo...@cenote.de>.
Michael Price schrieb:

>'svnserve' executable isn't in your path. Fix your path in your
>'environment' file in your .ssh (or .ssh2) directory.
>
>Michael
>  
>
That was exactly what I needed. It works now!

Many thanx for this novice support :-))




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

Re: svn+ssh fails with 0.24.1

Posted by Michael Price <mi...@computer.org>.
--- Volker_Vo�k�mper <vo...@cenote.de> wrote:
> This is with Linux client (on the server itself):
> ---snip----------------------------
> s-dev::~ # svn ls svn+ssh://s-dev/home/data/svn/repos/test
> root@s-dev's password: ********
> bash: svnserve: command not found
> svn: Network connection closed unexpectedly
> svn: Connection closed unexpectedly
> ------------------------------------

Can't help you with Windows as I don't touch the stuff. However, I do
test svn+ssh on Unix platforms before release and it works fine. The
root of the problem is present in your error message above. The
'svnserve' executable isn't in your path. Fix your path in your
'environment' file in your .ssh (or .ssh2) directory.

Michael


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