Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- remote backup using sftp
October 2, 2006, 8:52 pm
rate this thread
hi, i have public/private keys configured for my servers and would like
to take a backup and sftp to a remote machine i maintain in a colo
facility (also configured with public/private keys). can someone
recommend a way to do this sftp of the backedup data to the remote
machine, using a script? essentially my question is how do do the sftp
transfer without manually having to type the passphrase.
Re: remote backup using sftp
rsync using ssh as transport is one nice option if you have hte
benefit of an rsync server on the far end.
client$ rsync -avz -e ssh /home/me/ remote.colohost.blah:/home/me123/mybackup
Or you can do the usual scp thing though it's not as bandwidth
In ssh parlance, you wish to use public key authentication with a
private key that has no pass phrase.
For more on that see:
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum