[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SSH error: end of file from server
From: |
Mark D. Baushke |
Subject: |
Re: SSH error: end of file from server |
Date: |
Tue, 10 May 2005 11:04:08 -0700 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andrew Wood <address@hidden> writes:
> >>for bash or other bourne shell variations use:
> CVS_RSH=/usr/bin/ssh; export CVS_RSH
>
> Thanks for that hint. I was doing it a slightly different way, which I
> thought was working as echo $CVS_RSH worked, but clealry CVS didnt like
> it!
Some bourne shells allow you to combine the two statements into one:
export CVS_RSH=/usr/bin/ssh
in addition, you don't really need to use a full pathname for ssh, so
export CVS_RSH=ssh
is usually good enough.
If you wish to determine if a shell variable has been exported into the
environment, you may wish to use the 'printenv' command:
printenv CVS_RSH
Or, you could have your 'echo' command inside of a shell script that you
run.
Enjoy!
-- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQFCgPeY3x41pRYZE/gRArafAKCX2ux+fWa6qgHPi11wKMdFe7nymACguSnn
YJFnhB6U4h1+0jujhCjHXLM=
=RJpD
-----END PGP SIGNATURE-----