[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: svn+ssh ask for bad login

From: Zieg, Mark <mark.zieg_at_lmco.com>
Date: 2005-02-21 16:11:34 CET

> login1_at_client$ svn co svn+ssh://other_login@server/myproject/trunk
trunk
> U trunk/rep1/....
> U trunk/rep1/....
> U trunk/rep1/....
>
> Fetching external item into 'trunck/rep2'
> login1@server's password:

I ran into that last week. My solution was simply to change my username
so it was the same on each box (handy and overdue in any case).

However, I've since read that you can set the SVN_SSH variable to
include the ssh parameters you want to use for the connection, ie:

    $ export SVN_SSH="ssh -l other_login"

I believe you can set that in your ~/.subversion/config file as well,
though I haven't tried it:

    # ./subversion/config
    [tunnels]
    ssh = ssh -l other_login

They are also planning to add "relative externals URLs" in a subsequent
release (1.2, I hope?) which should allow your "externals" definitions
to simply "inherit" the URL (including username, one would assume) of
the parent directory.

Hope this helps (and is accurate),

Mark Z

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 21 16:17:20 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.