LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   SSH key and/or password (http://www.linuxquestions.org/questions/linux-networking-3/ssh-key-and-or-password-790401/)

daghenningsorbo 02-20-2010 10:38 AM

SSH key and/or password
 
Hello.

Does anyone know if it's possible to have the SSH server authenticate through keys if present, but ask for password if no keys are present?

dagH

smoker 02-20-2010 10:44 AM

yes it is.
read your /etc/ssh/sshd_config

PasswordAuthentication yes

daghenningsorbo 02-20-2010 02:31 PM

Well, it did work! Thank you!


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