multiplex your ssh connectionThis lets you make an ssh connection without needing to go through the lengthy key negotiation step each time. If you are running a script which makes many ssh connections to the same host (like perhaps for multiple rsync commands), this will make it much much faster. On the client side, create ~/.ssh/config:Host *
Using SSH keysThis is not a backup issue per se, but ssh is used for most remote backups, and it is neccessary to run unattended. By using ssh keys, one process can ssh to another host without specifying a password.user@srchost> ssh-keygen -t dsa
user@srchost> ssh backupuser@backuphost
which details how to restrict what programs the remote user can execute.
linksfor lack of a better place to put this link:www.mindrot.org/~djm/auug2002/ssh-tutorial.pdf good tutorial on fancy ways of using ssh |
