Category Archives: Uncategorized

Enter your ssh-passphrase once, use it many times, even from crontab | Me in IT

Recently I wanted to set up rsync to backup my home directory to another machine using ssh. Since I have set up ssh keys with a passphrase, It proposed a problem with my rsync script. This is a dirty little fix I found. It is not perfect as I have to remember to open a console and enter my passphrase every time I restart my machine, but it suits my needs just fine.

 

Enter your ssh-passphrase once, use it many times, even from crontab | Me in IT.