rsync and unattended ssh between 2 machines

Toni Schmidbauer toni at stderror.at
Sun Dec 21 12:43:11 PST 2003


On Sat, Dec 20, 2003 at 07:53:08PM -0500, Brent Bailey wrote:
> ive been trying to get rsync to work with  unattended SSH and syncing of
> file systems
> 
> Anyone have any good luck with doing this ? suggestions ?? any all all
> help is greatly appreciated

you have to create a rsa/dsa keypair without a passphrase
( ssh-keygen(1), just hit enter when asked for the passphrase ). 
save the public key on the remote maschine in
$HOME/.ssh/authorized_keys. then execute rsync with "-e ssh".

for security reasons it is strongly recommended to do this as
non privileged user( _not_ root). use sudo to execute commands
as root when necessary.

hth,
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.       | Toni Schmidbauer
-- Rudolf Steiner                                | 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20031221/c54c4833/attachment.bin


More information about the freebsd-questions mailing list