PuTTY fatal error: "No authentication methods available"

Fatal PuTTY error:

No supported authentication methods available

When I tried to log into the production server, I get the above errors. Can someone help me fix this?

+3
source share
6 answers

I think your private key file format is not compatible with putty for putty, instead it uses its own format.

More details: http://tartarus.org/~simon/putty-snapshots/htmldoc/Chapter10.html#errors-no-auth

+1
source

Edit file

sudo vi /etc/ssh/sshd_config

Set PasswordAuthentication Yes enter image description here

Then reboot the server

sudo service ssh restart
sudo service sshd restart
+1
source

(, ?) /var/log/messages. - PAM.

0

? , , ( - ec2-).

0

1. /etc/ssh/sshd_config. 2. PasswordAuthentication ChallengeResponseAuthentication "". 3a. ssh/etc/init.d/ssh restart. 3. sshd restart

0

, :

1- Download Puttygen ( https://www.puttygen.com/download-putty )

2- Open PUttyGen and then download the private key from:

C: \ Users [username] \ Chapter6.vagrant \ machines \ default \ VirtualBox

3- save the new private key with a new name.

4- Open Putty, go to Connection> SSH> Auth> and add a new private key

5- Connect now using 127.0.0.1 and 2222

0
source

All Articles