For Mac users, there is this: https://github.com/TimidRobot/mac-ssh-confirm
Doesn't add 2FA so much as it prompts you for each agent use.
On the remote end, you can enable 2FA for logging into the server with libpam-google-authenticator.
Doesn't add 2FA so much as it prompts you for each agent use.
On the remote end, you can enable 2FA for logging into the server with libpam-google-authenticator.