[TriLUG] how-to: preshare ssh key

Nick Goldwater trilug at dogstar1.com
Tue Jun 3 16:51:25 EDT 2008


You could issue the following command and enter the password once.
ssh-copy-id -i .ssh/id_rsa(dsa).pub <destination host>
Nick

----- "Warren Myers" <volcimaster at gmail.com> wrote:

| I need to set up rsync between a pair of servers and want to use ssh
| to
| accomplish that.
| 
| However, I don't want to be entering the passwords of those users
| constantly.
| 
| How do I go about pre-sharing the server keys between the target and
| source
| machines?
| 
| Or, is there a better way to do this than I have currently out-lined?
| 
| WMM
| 
| -- 
| 
| Warren Myers
| http://warrenmyers.com
| -- 
| TriLUG mailing list        :
| http://www.trilug.org/mailman/listinfo/trilug
| TriLUG FAQ  : http://www.trilug.org/wiki/Frequently_Asked_Questions



More information about the TriLUG mailing list