Saturday, May 18, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 14260  / 3 Years ago, fri, november 5, 2021, 12:42:24

So.. I can login to my ubuntu machine using private-public key method.



But now I need to have a user with regular username - password login method.



If I try to simply login with username (without specifying RSA key) in putty, I get Disconnected: no supported authentication methods available (server sent: publickey) error.



How to fix this?


More From » ssh

 Answers
0

In the file /etc/ssh/sshd_config, change the line



#PasswordAuthentication yes


to



PasswordAuthentication yes


and resart sshd:



service sshd restart

[#8666] Friday, November 5, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
confiorc

Total Points: 42
Total Questions: 121
Total Answers: 123

Location: India
Member since Wed, Aug 26, 2020
4 Years ago
;