I have a question about Linux server management.
I'm using Putty on CentOS.
For security reason,I setted root login prohibited and password authentication prohibited.
I want to login with only key authentication.
I made the settings like this.
PermitRootLogin no
PasswordAuthentication no
Then,suddenly I couldn't log in using key authentication.
I added a user with the adduser command, but I can't log in either.
Until I changed these, I was able to log in as root with key authentication normally.
The Putty screen says Server refused our key, and the dialog says,
No supported authentication methods available (server sent: publickey.gssapi-keyex, gssapi-with-mic)
I would be grateful if you could give me some advice.
I'm using Putty on CentOS.
For security reason,I setted root login prohibited and password authentication prohibited.
I want to login with only key authentication.
I made the settings like this.
PermitRootLogin no
PasswordAuthentication no
Then,suddenly I couldn't log in using key authentication.
I added a user with the adduser command, but I can't log in either.
Until I changed these, I was able to log in as root with key authentication normally.
The Putty screen says Server refused our key, and the dialog says,
No supported authentication methods available (server sent: publickey.gssapi-keyex, gssapi-with-mic)
I would be grateful if you could give me some advice.