by nullc · 12y ago · 0 comments
Obviously if the attacker has access long enough they'll capture the passphrase and private key eventually, but it would be nice to narrow the window.
Right now the best you can probably do is use a gpg smartcard with the ssh-agent/gpg-agent shim stuff, (random tutorial here: https://github.com/herlo/ssh-gpg-smartcard-config/blob/maste...)
So Kerberos? You can do that with Kerberos and the GSS-API in OpenSSH already.
Tomorrow, they'll have to get new certs (automatically, after authenticating to the CA using appropriate means).
Here's a tutorial showing cert-based ssh auth: http://neocri.me/documentation/using-ssh-certificate-authent...
Obviously with secure key storage (smart-card) prohibiting accidental loss of the private key, and a working cert-revocation infrastructure it's not necessary in the first place.