Enable both password and key based authentication for ssh server

Add the following option in /etc/ssh/sshd_config

AuthenticationMethods publickey,password

Leave a Reply