Can one set an agent timeout for a specific host?
Darren Tucker
dtucker at dtucker.net
Thu Jun 6 08:52:06 AEST 2024
On Wed, 5 Jun 2024 at 22:20, Chris Green <cl at isbd.net> wrote:
> If I set a timeout for a specific host's key does it set the timeout
> for just that key/host?
[...]
> Host backup
> IdentityFile ~/.ssh/backup_id_rsa
> IdentityAgent 600
I think you meant AddKeysToAgent?
> Will it just time out the key saved for backup and leave any other
> keys with the default no timeout?
Yes this will only affect the key added when connecting to this host.
--
Darren Tucker (dtucker at dtucker.net)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860 37F4 9357 ECEF 11EA A6FA
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
More information about the openssh-unix-dev
mailing list