3 ms·
I think the point is that they enter the passphrase once to load the keys into ssh-agent, and then the unattended process can use them forever.
by cortesoft 12y ago
I think the point is that they enter the passphrase once to load the keys into ssh-agent, and then the unattended process can use them forever.
- agwa 12y agoIf that's the case, then I would start a dedicated ssh-agent process just for the run, add the identities (without expiration), and later kill the agent when the unattended run is over.
- __david__ 12y agoThat's fine for that kind of scenario, but often "unattended run" means something spawned by cron, like a daily backup, or a CI system that spawns build jobs on slave machines. There's not a lot of options there.
- e40 12y agoThis is the case.