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

Jim Babcock <[EMAIL PROTECTED]> writes:

> On a shared webhost, my username is "[EMAIL PROTECTED]" and
> the hostname is "jimrandomh.org". With ssh, I can log in fine with
> "ssh -l '[EMAIL PROTECTED]' 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:[EMAIL PROTECTED]@jimrandomh.org:/cvs init
> Then it misparses this as user:jbabcock,
> host:[EMAIL PROTECTED] If I use
>    export [EMAIL PROTECTED]
>    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 [EMAIL PROTECTED]

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-----


_______________________________________________
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs

Reply via email to