Relitive paths with ssh

John Arbash Meinel john at arbash-meinel.com
Tue Jul 7 17:03:11 BST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Neil Martinsen-Burrell wrote:
> hessiess at hessiess.com wrote:
>> I am attempting to set up a personal web server where each website is an
>> independent bzr tree. Each tree has its own user with the home dir set to
>> the web root, and I can successfully log into the home dir
>>
>> ssh user at server
>>
>> However if I attempt to check out one of these directories
>>
>> bzr checkout sftp://user@server
>>
>> for some reason SSH resolves to the servers root dir, requiring the
>> absolute path to be specified. Is there any way to make bzr resolve to
>> the
>> users home dir?
> 
> This is a pending feature request for Bazaar to provide a syntax for
> referring to paths relative to the home directory.  See
> https://bugs.launchpad.net/bzr/+bug/224400 for more discussion.
> 
> I've thought about trying to fix it before, but it is sufficiently
> low-level that I've never felt confident in where to make the change. If
> someone wanted to comment on the bug with a recommended approach, I'd
> take a shot at coding it up.
> 
> -Neil
> 
> 

Except for 'sftp' you can already just do:

bzr checkout sftp://user@server/~/stuff/in/home

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpTcb8ACgkQJdeBCYSNAANRlACfXu3yZAlF/kUAR7MFPu4ZADeD
tAcAnj06VZnDHg2+F50ZZ7v99u9MOn0Z
=JNaN
-----END PGP SIGNATURE-----



More information about the bazaar mailing list