Hello Ashley !
ssh to backup a dump of the bugs database to a backup host. What I don't understand is how to deal with passphases in a shell script. Or is there a better way to go about this? Any ideas?
I'm not familiar with rsync but for ssh, you can create a key for each user on a host with "ssh-keygen" and then put the public key (normally called "~/.ssh/identity.pub" in the "~/.ssh/authorized_keys" file on the host you want to connect to. This way, you don't need to enter a password when you establish the ssh-connection (and you don't need to put the password in your script file). Try "man ssh-keygen" and "man sshd" or "man ssh" to learn more about ssh and the authorization process. HTH Armin ------------------------------------------------------------------------ Armin Schöch at the office: Institut für Atmosphärenphysik Ziolkowskistr. 10 / 63 Schlossstraße 6 D-18059 Rostock D-18225 Kühlungsborn Tel. +49-(0)381-4005781 Tel. +49-(0)38293-68-102