Home:ALL Converter>Why am I unable to login to my centos/7 box using Putty?

Why am I unable to login to my centos/7 box using Putty?

Ask Time:2017-03-21T05:30:38         Author:Joshua Lee

Json Formatter

I'm using Win10, Putty, Vagrant and Virtualbox.

I set everything up the same way I did for my ubuntu/trusty box (which worked perfectly) but I am getting this error after trying to login to my centos box:

Disconnected: no supported authentication methods available (server sent: publickey, gssapi-keyex, gssapi-with-mic)

I've looked through a bunch of threads here and elsewhere, but haven't found the answer to my question. Thanks for your help.

Author:Joshua Lee,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/42914310/why-am-i-unable-to-login-to-my-centos-7-box-using-putty
Victor Rocheron :

If you want to use password authentication, you can type :\n\nssh -o PreferredAuthentications=password user@IP\n\n\nTo make it persistent, edit /etc/ssh/sshd_config, then restart ssh service",
2017-03-24T09:55:28
yy