There are steps listed in the rsync archive which allow one to safely use
ssh without being prompted for user name or password. I got it to work, but
not for user root. Since I wanted to do the rsync as root, I gave up on ssh
and I'm using rsync in daemon mode. Anyone out there know for sure if ssh
always requires a password from root?
Here's a link to the post I found in the archives:
http://lists.samba.org/pipermail/rsync/2000-June/002452.html
<http://lists.samba.org/pipermail/rsync/2000-June/002452.html> I believe
this describes the process for ssh 1, which I use, rather than ssh 2...
Gerald Gallagher
-----Original Message-----
From: Robert Scholten
[mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 17, 2000 6:46 PM
To: [EMAIL PROTECTED]
Subject: rsync, root, passphrase/password
I have been happily rsync'ing for some time, using ssh as
root with an
empty passphrase. I'd like to improve system security and
add a
passphrase - any suggestions on how to do that? I'd like to
be able to
run rsync overnight, i.e. without me there to type in a
passphrase.
I can imagine burying the passphrase in a script, which
would be some
improvement, but perhaps there's something more elegant?
--
Robert Scholten Tel: +61 3 8344 5457
Mob: 0412 834 196
School of Physics Fax: +61 3 9347 4783
University of Melbourne email:
[EMAIL PROTECTED]
Victoria 3010 AUSTRALIA
http://www.ph.unimelb.edu.au/~scholten
============================================================================
This message is intended only for the use of the Addressee(s) and may
contain information that is PRIVILEGED and CONFIDENTIAL. If you are not
the intended recipient, dissemination of this communication is prohibited.
If you have received this communication in error, please erase all copies
of the message and its attachments and notify [EMAIL PROTECTED]
immediately.
============================================================================