This blog is for myself. So it is simplified. Don’t expect to understand all.
Steps as follow:
ssh-keygen -b 2048 -t dsa
scp .ssh/id_dsa.pub [to host]
cat id_dsa.pub .ssh/authorized_keys
Now just set up automator or write a script to automatically backup your files to another Mac without password.