Enable both password and key based authentication for ssh server by Sohail Qamar October 15, 2020 Add the following option in /etc/ssh/sshd_config AuthenticationMethods publickey,password