Disconnected: No supported authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic)
Receiving error When trying to access Linux server through putty or other tool using ssh service.
- Edit /etc/ssh/sshd_config configuration file using vi editor.
[[email protected] ~]# vi /etc/ssh/sshd_config
- Check and replace with yes for below entry
- save and exit from the file using :wq
- Than restart the ssh service using below command.
systemctl restart sshd
- Restart the network service using below command.
systemctl restart network
- Now try to access the server and sure it will work. Still if you are facing error in accessing the server, that there might be issue with firewall configuration.
Reference: Super user