You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by john geldman <jg...@gmail.com> on 2005/06/06 21:49:16 UTC

trouble with svn+ssh "svn: Connection closed unexpectedly"

I am having trouble with ssh access on a Linux system (SuSE 9.1) -
this is on a 1.2 that I built and installed.

I am getting the following complaint from svn (details below)

bash: line 1: svnserve: command not found
svn: Connection closed unexpectedly


Any hints as to where to look further?

ssh-agent is running and my credentials are loaded. If I run "ssh
my-home" it just works.

This is how I have manually invoked svnserve (and the feedback) (I get
the same problem if I do or don't use the root option)

me@my-home:/repos/opencores> /usr/local/bin/svnserve -t --foreground -r .
( success ( 1 2 ( ANONYMOUS EXTERNAL ) ( edit-pipeline ) ) )

This is what happens when I try to list what is in the repository:

me@my-home:~/.ssh> svn list svn+ssh://my-home-1/trunk
bash: line 1: svnserve: command not found
svn: Connection closed unexpectedly

This a normal ssh test (shell to self) - no additional effort on my
part as the credentials are already held in the ssh-agent

me@my-home:~/.ssh> ssh my-home
Last login: Mon Jun  6 12:41:22 2005 from 192.168.168.200
Have a lot of fun...
me@my-home:~>  (this is an ssh subshell prompt)

By the way, if I run "svnserve -d -r ." instead, the following works
(in other words, there really is a valid repository)

me@my-home:~> svn list file:///repos/opencores/trunk
dbg_interface/
ethernet/
gpio/
jtag/
mem_ctrl/
or1200gct/
or1k/
ptc/
simple_pic/
uart16550/
wb_builder/
wb_dma/


Thanks folks, John

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


Re: trouble with svn+ssh "svn: Connection closed unexpectedly"

Posted by john geldman <jg...@gmail.com>.
By the way all, Eric's pointer did the trick. Hmm, so that's why it's
called a FAQ.

Eric: Thanks again, 

Regards, John

On 6/6/05, john geldman <jg...@gmail.com> wrote:
> Ah, my "book" is open to a similar section
> (1.1/svn-book#svn-ch-6-sect-3.5), but I didn't "get" how to keep it
> from being my default/only ssh behavior. (maybe a good FAQ/book
> integration point for a future book re-write)
> 
> Yes, by the way, /usr/local/bin shows up on my "normal" shell path,
> but I see that it might not in the ssh domain.
> 
> I'm giving it a shot, but it feels right.
> 
> Thanks, John
> 
> On 6/6/05, Eric Hanchrow <of...@blarg.net> wrote:
> > >>>>> "john" == john geldman <jg...@gmail.com> writes:
> >
> >     john> bash: line 1: svnserve: command not found svn: Connection
> >     john> closed unexpectedly
> >
> > http://subversion.tigris.org/faq.html#ssh-svnserve-location
> >
> > --
> > None of the ... actors do anything we couldn't do if we looked
> > like them.
> >         -- Roger Ebert, reviewing "The Chronicles Of Riddick"
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: users-help@subversion.tigris.org
> >
> >
>

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


Re: trouble with svn+ssh "svn: Connection closed unexpectedly"

Posted by john geldman <jg...@gmail.com>.
Ah, my "book" is open to a similar section
(1.1/svn-book#svn-ch-6-sect-3.5), but I didn't "get" how to keep it
from being my default/only ssh behavior. (maybe a good FAQ/book
integration point for a future book re-write)

Yes, by the way, /usr/local/bin shows up on my "normal" shell path,
but I see that it might not in the ssh domain.

I'm giving it a shot, but it feels right.

Thanks, John

On 6/6/05, Eric Hanchrow <of...@blarg.net> wrote:
> >>>>> "john" == john geldman <jg...@gmail.com> writes:
> 
>     john> bash: line 1: svnserve: command not found svn: Connection
>     john> closed unexpectedly
> 
> http://subversion.tigris.org/faq.html#ssh-svnserve-location
> 
> --
> None of the ... actors do anything we couldn't do if we looked
> like them.
>         -- Roger Ebert, reviewing "The Chronicles Of Riddick"
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
> 
>

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


Re: trouble with svn+ssh "svn: Connection closed unexpectedly"

Posted by Eric Hanchrow <of...@blarg.net>.
>>>>> "john" == john geldman <jg...@gmail.com> writes:

    john> bash: line 1: svnserve: command not found svn: Connection
    john> closed unexpectedly

http://subversion.tigris.org/faq.html#ssh-svnserve-location

-- 
None of the ... actors do anything we couldn't do if we looked
like them.
        -- Roger Ebert, reviewing "The Chronicles Of Riddick"


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