views:

32

answers:

1

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?

A: 

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.

amin