Sometime SSH login
failures encountered with gssapi-with-mic authentication method and hence takes
time to get password prompt.
[root@linuxcnf
~]# cat /etc/redhat-release
CentOS
Linux release 8.5.2111
[root@linuxcnf
~]#
|
Step 1. Change in SSH Configuration: Run the following command to open ssh configuration file. Once file is opened search the GSSAPIAuthentication yes and change it to GSSAPIAuthentication
no as shown in below screen:
[root@linuxcnf
~]# vi /etc/ssh/sshd_config
…………………….
GSSAPIAuthentication
no
……………………
root@linuxcnf
~]#
|
Step2. Restart SSH Service: Run the below to restart SSH service to reflect the
changes:
[root@linuxcnf
~]# systemctl restart sshd
[root@linuxcnf
~]#
|
Done! Now
the try to login again and hoping slow ssh login issue resolved.
No comments:
Post a Comment