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 USER@REMOTEHOST 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url :
http://lists.samba.org/archive/rsync/attachments/20080819/9ca0997b/attachment.bin