You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Pep <pe...@ticketweb.co.uk> on 2004/08/03 09:40:47 UTC
Double ssh login required?
This was not the case before but is now and I have honestly not changed
anything. Or at least I think I have not changed anything.
So, before I could just do the following command
svn co svn+ssh://192.168.104.11/usr/local/subv/project/trunk aa
and the system would ask me for my password then download the project but for
some reason now it asks me for my password twice before downloading the
project!
If I attempt to ssh to the repository server I only get asked for my password
once.
Does anyone know why this happening now and how I can fix this?
The client details are
4.10-STABLE FreeBSD
svn, version 1.0.5 (r9954)
The server details are
RedHat 2.4.21-15.ELsmp
svn, version 1.2.0 (dev build)
TIA,
Pep.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Double ssh login required?
Posted by Pep <pe...@ticketweb.co.uk>.
Thanks verymuch for the info Ben, sounds like the old cvs+ssh way of doing
things, so that's not a problem then.
Pep.
On Tuesday 03 Aug 2004 1:47 pm, Ben Collins-Sussman wrote:
> On Tue, 2004-08-03 at 04:40, Pep wrote:
> > This was not the case before but is now and I have honestly not changed
> > anything. Or at least I think I have not changed anything.
>
> You must have upgraded from a very old version of svn to a 1.0.x
> version.
>
> Whenever the svn client "connects to the server", the ssh binary will
> prompt you for authentication. In old, pre-1.0 versions of svn, the
> checkout command connected to the server once. svn 1.0 and later
> connects to the repository twice.
>
> Normally, it's no big deal. If you're using http:// or svn://, then the
> second connection doesn't prompt you, because the svn authn caching
> system has kicked in.
>
> If you're using svn+ssh://, the authn caching system is being
> circumvented; the svn client never receives an authn challenge all.
> Instead, it's the ssh binary doing all the authentication.
>
> So, you need to use a program like 'ssh-agent' to cache your ssh
> password in memory.
>
>
>
> ---------------------------------------------------------------------
> 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: Double ssh login required?
Posted by Henrik Johansson <he...@vocab.se>.
I have the same issue...
Have had it since installation which I think was ok.
This on approx the same RH system as yours.
/ Henrik
On Tue, 2004-08-03 at 11:40, Pep wrote:
> This was not the case before but is now and I have honestly not changed
> anything. Or at least I think I have not changed anything.
>
> So, before I could just do the following command
>
> svn co svn+ssh://192.168.104.11/usr/local/subv/project/trunk aa
>
> and the system would ask me for my password then download the project but for
> some reason now it asks me for my password twice before downloading the
> project!
>
> If I attempt to ssh to the repository server I only get asked for my password
> once.
>
> Does anyone know why this happening now and how I can fix this?
>
> The client details are
>
> 4.10-STABLE FreeBSD
> svn, version 1.0.5 (r9954)
>
> The server details are
>
> RedHat 2.4.21-15.ELsmp
> svn, version 1.2.0 (dev build)
>
> TIA,
> Pep.
>
>
> ---------------------------------------------------------------------
> 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: Double ssh login required?
Posted by Ben Collins-Sussman <su...@collab.net>.
On Tue, 2004-08-03 at 04:40, Pep wrote:
> This was not the case before but is now and I have honestly not changed
> anything. Or at least I think I have not changed anything.
You must have upgraded from a very old version of svn to a 1.0.x
version.
Whenever the svn client "connects to the server", the ssh binary will
prompt you for authentication. In old, pre-1.0 versions of svn, the
checkout command connected to the server once. svn 1.0 and later
connects to the repository twice.
Normally, it's no big deal. If you're using http:// or svn://, then the
second connection doesn't prompt you, because the svn authn caching
system has kicked in.
If you're using svn+ssh://, the authn caching system is being
circumvented; the svn client never receives an authn challenge all.
Instead, it's the ssh binary doing all the authentication.
So, you need to use a program like 'ssh-agent' to cache your ssh
password in memory.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org