On Mon, 2008-08-18 at 17:26 -0700, Tamara Temple wrote:
> I'm having troubles generating and using keys with rsync over ssh. The  
> server I'm backing up to has a different name and IP internally than  
> is seen by the external source machine running rsync. How do I set up  
> the keys in this case?

First check that you can run a remote command over ssh using a manually
entered password:

ssh [EMAIL PROTECTED] echo foo

Then you just need to add the contents of the client user's
~/.ssh/id*.pub to the remote user's ~/.ssh/authorized_keys file.
There's a program "ssh-copy-id" that will do this for you.  The
public-key authentication itself doesn't care about hostnames or IP
addresses, so your special setup should not present a problem here.

Matt

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to