David Neary wrote:
> kevin lyda wrote:
>>>On Mon, Sep 30, 2002 at 05:37:55PM +0100, Justin MacCarthy wrote:
>>>>also, you should really use ssh for cvs, not pserver. pserver sends
>>passwords practically in cleartext and stores the password on the client
>>practically in cleartext.
>> Would you mind going over how you'd do that? I only know of
> setting CVS_RSH to ssh, which introduces the problem of giving a
> password every time you do a cvs operation, and the inability to
> use the cvs passwd file.
If your local username is different from that on the remote
(cvs) server then the following is very useful in ~/.ssh/config
Now you need to generate the key pair that ssh
uses to authenticate and encrypt traffic between
you and remote_server.
ssh-keygen -t dsa
remote_server needs the public half of the key, so...
scp ~/.ssh/id_dsa.pub remote_server:.ssh/authorized_keys2
Now you can ssh/scp/sanything to remote_server without
needing a password. To get CVS to use ssh you do:
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!