LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   force ssh to use key AND password (https://www.linuxquestions.org/questions/linux-general-1/force-ssh-to-use-key-and-password-723918/)

frznchckn 05-05-2009 12:38 PM

force ssh to use key AND password
 
Is there anyway I can force ssh connections to require a known key and a user password before allowing successful login?

anomie 05-05-2009 01:55 PM

You might be able to kludge something together by creative use of stacking PAM modules.

Alternatively, you could just come up with a system so that keypairs always used a passphrase. (i.e. You might have to generate the keys yourself rather than letting users do it.)


All times are GMT -5. The time now is 02:20 AM.