This procedure configures a hot backup server with unison.
(We use vmpulpy as the secondary mail server in this document.)
Accept the defaults for all ssh-keygen questions:
Note: You will be prompted for a password.
You will not be prompted for a password if the keypair was properly installed.
# ssh localhost
# ssh-keygen -t dsa
[screenshot]
Enter a file in which to save the key (/root/.ssh/id_dsa): [empty]
Enter passphrase (empty for no passphrase): [empty]
Enter the same passphrase again: [empty]
# scp /root/.ssh/id_dsa.pub vmpulpy.local:/root/.ssh/authorized_keys
# ssh vmpulpy.local
# exit
# apt-get install unison