You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Cédric Chabanois <cc...@no-log.org> on 2004/03/21 17:30:31 UTC

strange behaviour when using svn+ssh://

Hi all,

I use svn 1.0.0 on Linux (Gentoo)

I tried the following :
"
bash-2.05b$ svn co --non-interactive --username test --password mypasswd 
svn+ssh://localhost/home/cedric/projects/subversion/subclipse/svnant/test/svnssh/repository 
/home/cedric/projects/subversion/subclipse/svnant/test/svnssh/workingcopy
Password:
Password:
"

1) test/mypasswd is a valid user so it shouldn't ask the password
2) I used --non-interactive so it really shouldn't ask the password
3) when I enter "mypasswd" after the "Password:" prompt, it does not work
but if I enter the password of the current user, I am authenticated ...

Am I wrong somewhere ?

Thanks,
Cédric

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

Re: strange behaviour when using svn+ssh://

Posted by Ben Collins-Sussman <su...@collab.net>.
On Sun, 2004-03-21 at 11:30, Cédric Chabanois wrote:
> Hi all,
> 
> I use svn 1.0.0 on Linux (Gentoo)
> 
> I tried the following :
> "
> bash-2.05b$ svn co --non-interactive --username test --password mypasswd 
> svn+ssh://localhost/home/cedric/projects/subversion/subclipse/svnant/test/svnssh/repository 
> /home/cedric/projects/subversion/subclipse/svnant/test/svnssh/workingcopy
> Password:
> Password:
> "
> 
> 1) test/mypasswd is a valid user so it shouldn't ask the password
> 2) I used --non-interactive so it really shouldn't ask the password
> 3) when I enter "mypasswd" after the "Password:" prompt, it does not work
> but if I enter the password of the current user, I am authenticated ...
> 
> Am I wrong somewhere ?

You're a tiny bit confused.  It's *ssh* which is asking you for the
password, not SVN.  That's why none of the svn options are working.  If
you don't want ssh to prompt you, read all about ssh-agent.



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