Copy ssh keys to user@host to enable password-less ssh logins.

 $ ssh-copy-id user@host

To generate the keys use the command ssh-keygen.


Ex:

[suresh@mercury ~]$ ssh-copy-id [email protected]

[email protected]'s password:
Now try logging into the machine, with "ssh '[email protected]'", and check
in:

  .ssh/authorized_keys

to make sure we haven't added extra keys that you weren't expecting.

[suresh@mercury ~]$ ssh [email protected]
Last login: Wed May 11 18:51:37 2011 from 192.168.1.2

[parthi@localhost ~]$








-- 
Warm Regards,
Tha.Suresh


My experiences with Linux: http://thasulinux.wordpress.com

-- 
LUG@IITD - http://lug-iitd.org/Footer

Reply via email to