This is the mail archive of the
mailing list for the Cygwin project.
Re: Passwordless login with ssh
Igor Pechtchanski wrote:
Now on to another problem. Perhaps this can't be done. As the user
adefaria I wish to ssh to another machine as another user (ccadmin)
and not be prompted with a password. Is this doable without "giving
away the farm" security-wise? To allow certain users the right to ssh
as another user without the need for a password?
Sure you can. I do it all the time. Simply generate a public/private
key pair for the user on your home machine, and add the public key to
the authorized_keys file for ccadmin.
I'm figuring that out. Thanks for the guidance.
Finally, I would like to ssh to my home machine without needing a
password. At work I'm adefaria, at home I'm Andrew. I wish to
$ echo $USER
$ ssh Andrew@<home>.com
and have my home machine set up to allow adefaria@adefaria to come in
Same as above: generate a key pair for adefaria at work, and add the
public key to the authorized keys file for Andrew at home.
Yes. This is cool. OK, thanks guys...
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html