Recently, I found an SSH connection problem. every time he connects to our server from his virtual machine, the verification speed will be slow, and it will take a long time to fail to respond. After research, we found that the SSH configuration file sshd_config has such a parameter: vi/etc/ssh/sshd_config, set GSSAPIAuthenticationyes to no.
Recently, I found an SSH connection problem. every time he connects to our server from his virtual machine, the verification speed will be slow, and it will take a long time to fail to respond.
After studying it, we found that:
The SSH configuration file sshd_config has the following parameter:
vi /etc/ssh/sshd_config
Set GSSAPIAuthentication yes to no.
In fact, this GSSAPI authentication is performed by the client on the server during user login. if the server IP address is not configured with PTR records, the resolution fails, will be stuck ~ Wait for a long time ~ To connect ~.
Many times, when you connect to a server using an ssh tool, if you encounter card verification, it is basically stuck in this configuration. Changed.