[olug] sftp/scp

Daniel Linder dan at linder.org
Fri Aug 26 02:22:00 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Thu, August 25, 2005 21:18, Craig Wolf wrote:
> Would they need to input a password or could I automate it?  Pardon my
> ignorance on rsync...never used it.

You can setup rsync to use a ssh tunnel so it is both encrypted and
doesn't need a password.

- From a quick Google, the command structure is like this:
$ rsync -avz -e "ssh -i /home/thisuser/cron/thishost-rsync-key"
remoteuser at remotehost:/remote/dir /this/dir/

(I got this from "http://www.jdmz.net/ssh/")

Dan

- - - - -
"Wait for that wisest of all counselors, time." -- Pericles
"I do not fear computer, I fear the lack of them." -- Isaac Asimov
GPG fingerprint:6FFD DB94 7B96 0FD8 EADF  2EE0 B2B0 CC47 4FDE 9B68

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDDnzIsrDMR0/em2gRAjLnAJ4+htbCB3E4bndywmXBW6uyOjXJvwCeMGZq
g6Kaev9JT8cuAcx3BEusGCk=
=rFtF
-----END PGP SIGNATURE-----




More information about the OLUG mailing list