OpenSSH Two Phase Login
I would like it if when I use OpenSSH like so:
ssh user@host
that it asks for a passphrase
开发者_运维技巧Please enter Passphrase:
then asks for the password
Please enter Password:
Is this possible?
i think you can configure pam to do so. Pam mean pluggable authentication modules which provide login prompt for you, ssh is configured to use UsePam.
you should configure your login with multiple authentication modules so it ask your password mutiple times.
精彩评论