Home  >  Article  >  System Tutorial  >  Detailed steps to solve slow SSH login in Linux system

Detailed steps to solve slow SSH login in Linux system

王林
王林Original
2024-07-19 20:58:511082browse

Detailed steps to solve slow SSH login in Linux system

We did not close a service when installing the Linux system. As a result, when logging in to SSH, we had to wait for a while after entering the user name before entering the password. The following solutions can be summarized to solve this problem.

Modify the following two places in sshd_config and restart ssh.

# vi /etc/ssh/sshd_config
GSSAPIAuthentication no
UseDNS no

Restart ssh

# systemctl restart sshd

The above can be solved perfectly.

The above is the detailed content of Detailed steps to solve slow SSH login in Linux system. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn