You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Hojin Choi <py...@users.kldp.net> on 2004/05/19 02:41:37 UTC

Password asking 2 times in svn+ssh URL

Hi all,

When we use a svn root with svn+ssh://host/blah, ssh asks password two
times.
This is just for curiosity and some annoyance..
Why does it ask two times? Is it off topic? :)
In cvs, it is done in one time.

And, of course, I use public key copying method for no asking that password.

---------------------------------------------------------------------------
Name : Choi Hojin <pynoos -a-t- ahnlab.com>
Organization: AhnLab, Network Unit
Home Page : http://hojin.bogmjari.net/
---------------------------------------------------------------------------



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

Re: Password asking 2 times in svn+ssh URL

Posted by Hojin Choi <py...@users.kldp.net>.
Hmm, so all connections are equivalent in jobs
No connection dedicated working happens..

Ok, thank you.. :)

----- Original Message ----- 
From: Ben Collins-Sussman 
To: Hojin Choi 
Cc: users@subversion.tigris.org 
Sent: Wednesday, May 19, 2004 11:57 AM
Subject: Re: Password asking 2 times in svn+ssh URL


On Tue, 2004-05-18 at 21:53, Hojin Choi wrote:
> Yes, so.. for what object are there two connections..
> 
> for e.g. one for updating files, one for sending differential parts..?
> 
> and why aren't they consolidated into one..?

Because sometimes its more convenient to use multiple connections.  (How
am I supposed to respond to that?  :-)  )

For example, when running 'svn diff URL1 URL2', one connection is used
to receive a description of which files need to be compared, and a 2nd
connection is used simultaneously to fetch the files for comparison. 
It's nice to use network connections in parallel.

 


---------------------------------------------------------------------
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: Password asking 2 times in svn+ssh URL

Posted by Ben Collins-Sussman <su...@collab.net>.
On Tue, 2004-05-18 at 21:53, Hojin Choi wrote:
> Yes, so.. for what object are there two connections..
> 
> for e.g. one for updating files, one for sending differential parts..?
> 
> and why aren't they consolidated into one..?

Because sometimes its more convenient to use multiple connections.  (How
am I supposed to respond to that?  :-)  )

For example, when running 'svn diff URL1 URL2', one connection is used
to receive a description of which files need to be compared, and a 2nd
connection is used simultaneously to fetch the files for comparison. 
It's nice to use network connections in parallel.

 


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

Re: Password asking 2 times in svn+ssh URL

Posted by Hojin Choi <py...@users.kldp.net>.
Yes, so.. for what object are there two connections..

for e.g. one for updating files, one for sending differential parts..?

and why aren't they consolidated into one..?

----- Original Message ----- 
From: Ben Collins-Sussman 
To: Hojin Choi 
Cc: users@subversion.tigris.org 
Sent: Wednesday, May 19, 2004 11:44 AM
Subject: Re: Password asking 2 times in svn+ssh URL


On Tue, 2004-05-18 at 21:41, Hojin Choi wrote:
> Hi all,
> 
> When we use a svn root with svn+ssh://host/blah, ssh asks password two
> times.
> This is just for curiosity and some annoyance..
> Why does it ask two times? Is it off topic? :)
> In cvs, it is done in one time.

The subversion client sometimes makes multiple TCP connections to the
repository.  This is by design.  Repository connections are "objects"
that are created as needed.

If you're using ssh, however, then the 'ssh' binary will prompt you for
your password every time you make a repository connection.  The only way
to deal with this is use an external caching program like 'ssh-agent' on
unix or putty's 'pageant' on windows.



---------------------------------------------------------------------
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: Password asking 2 times in svn+ssh URL

Posted by Ben Collins-Sussman <su...@collab.net>.
On Tue, 2004-05-18 at 21:41, Hojin Choi wrote:
> Hi all,
> 
> When we use a svn root with svn+ssh://host/blah, ssh asks password two
> times.
> This is just for curiosity and some annoyance..
> Why does it ask two times? Is it off topic? :)
> In cvs, it is done in one time.

The subversion client sometimes makes multiple TCP connections to the
repository.  This is by design.  Repository connections are "objects"
that are created as needed.

If you're using ssh, however, then the 'ssh' binary will prompt you for
your password every time you make a repository connection.  The only way
to deal with this is use an external caching program like 'ssh-agent' on
unix or putty's 'pageant' on windows.



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