by everythingcli · 10y ago · 0 comments
I have many different SSH keys, each with different long passwords.
What u are looking for is `ssh-agent` which can take care of all the password handling.
Also unattended rsync (over ssh) backups rely on no user interaction at all.
Couldn't reply to your thread directly, so here:
It shouldn't be a problem when someone steels your key. At least not when it is protected with a strong password.
As I said, you can and should always use `ssh-agent` and protect all of your keys with a password.
Now that it was mentioned, I am really not sure, if `ssh-agent` also works for processes started by `cron`.