[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can't specify username with cvs-rsh
From: |
Mark D. Baushke |
Subject: |
Re: Can't specify username with cvs-rsh |
Date: |
Sat, 05 Feb 2005 11:18:53 -0800 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jim Babcock <address@hidden> writes:
> On a shared webhost, my username is "address@hidden" and
> the hostname is "jimrandomh.org". With ssh, I can log in fine with
> "ssh -l 'address@hidden' jimrandomh.org". However, I can't
> find a way to get CVS to pass the correct options. If I use
> export CVS_RSH=ssh
> cvs -d :ext:address@hidden@jimrandomh.org:/cvs init
> Then it misparses this as user:jbabcock,
> host:address@hidden If I use
> export address@hidden
> cvs -d :ext:jimrandomh.org:/cvs init
> then it just ignores the USER environment variable. There doesn't
> seem to be any option to specify the username separately (like ssh's
> -l).
>
> So, how do I use CVS if my username contains an @ character?
Add the following two lines to your $HOME/.ssh/config file:
Host jimrandomh.org
User address@hidden
Now you should be able to use
export CVS_RSH=ssh
cvs -d :ext:jimrandomh.org:/cvs init
with no problems. The ssh executable itself will send the correct
identification for you.
-- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQFCBRwd3x41pRYZE/gRAuEIAKCjCbd9HvWZOJhzpzn26+vM96jI0wCffHe9
cCFiuyNjYc0XD0NwSzt8wkg=
=p1Pm
-----END PGP SIGNATURE-----