passwordless SSH

jayded ulist at gs1.ubuntuforums.org
Thu Apr 7 03:12:33 UTC 2005


authorized_keys or authorized_keys2 which is used in the new version
needs to be in the users home directory in the .ssh directory not on
the client as you explained but on the server.

Soo-Hyun Choi Wrote: 
> Hi,
> 
> I'm trying to set up a passwordless environment in my office. What I
> did is as follows:
> 
> $ ssh-keygen -t rsa
> $ cd .ssh
> $ cat *.pub >> authorized_keys
> $ scp authrozed_keys <my_user_id>@<remote_machine>:./.ssh
> 
> Then, if I do ssh, it will keep asking me a passphrase which I set it
> during the ssh key generation process.
> 
> $ ssh <remote_machine>
> Enter passphrase for key '/home/my_id/.ssh/id_rsa':
> 
> 
> How do I avoid keep typing the passphrase whenever I do ssh?
> 
> 
> Thank you.
> Soo-Hyun
> 
> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users


-- 
jayded




More information about the ubuntu-users mailing list