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

Re: [Q] External sources and svn+ssh access

From: Chris Seawood <cls_at_seawood.org>
Date: 2006-03-24 23:42:57 CET

I.zaufi@gmail.com wrote:
> The problem:
> When remote user (and local username and remote user name are not the
> same!!!) wants to checkout super-module he type the command:
> svn co svn+ssh://user@hostname/path/to/svn-root/super-module/trunk
> super-module

The user with differing username will have to configure his ssh client
to use the remote username when connecting to the svn server. This will
remove the need for adding 'user@' to the ssh commandline. Each user
can have their own custom ssh client configuration in ~/.ssh/config .

cat >> ~/.ssh/config<<EOF
Host svn.server.name
   User remote_username
chmod 600 ~/.ssh/config

See also 'man ssh_config' .

- cls

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 24 23:43:47 2006

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.