newbie: rsync and ssh and password
sauli.harala at eds.com
Wed Sep 26 18:14:39 EST 2001
For ssh you can configure the server and client side
to accept connections directly.
E.g. for F-secure ssh
And see chapter 2.4 for different authentication mechanisms.
If you are a normal user in both machines - and
User Public Key Authentication is allowed -
it may be the simpliest.
The keys you generate (ssh-keygen2 ) must probably
be entered with null passphrase.
For open-ssh the idea might be the same - even though the
mechanisms might be different (?)
Note - the rule of thumb - the easier the connection
opening is - the more unsecure it is.
From: peter lindsay [mailto:plindsay at dcs.st-and.ac.uk]
Sent: 26. syyskuuta 2001 10:51
To: rsync at lists.samba.org
Subject: newbie: rsync and ssh and password
I've got the following command that works fine; it prompt for a password
then runs okay:
"rsync -az -e ssh myserver.ac.uk:/var/lib/mysql
I wanted to run it as a script so put it into a file called rsync.sh and
chmod +x 'd it.
It runs as a script okay but still prompts for a password.
I read "man ssh" and the bit about "BatchMode" and "yes" but didn't really
Is there quick way to implement my script please anyone ?
School of Computer Science
University of St Andrews
Fife, KY16 9SS
Telephone +44 (0)1334 462824 ( Direct Line )
Email plindsay at dcs.st-and.ac.uk
More information about the rsync