It seems that the life argument is not parsed correctly. From discussion on IRC it seems that ssh-add.c#L722 and misc.c#L494 are good sources. ``` $ ssh-add -t 999999999999999999 Identity added: /home/modin/.ssh/id_rsa (/home/modin/.ssh/id_rsa) Lifetime set to -1486618625 seconds ``` running Arch Linux, openssh v 8.1p1-2.
created downstream issue https://bugs.archlinux.org/task/65459
Created attachment 3357 [details] Restrict key lifetime to usable values (u32) We have just committed this patch, which should address this issue and will be in the 8.3 release. Thanks for the report. $ ssh-add -t 999999999999999999 Invalid lifetime
close bugs that were resolved in OpenSSH 8.5 release cycle