Detailed steps for Linux system to solve slow SSH login

Detailed steps to solve slow SSH login in Linux system Detailed steps to solve slow SSH login in Linux system

When we installed the linux system , we did not close a service, which led to the need to wait for a while to enter the password after entering the username when logging in to SSH. After summarizing the following solutions, this problem can be solved.

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.

This article is reproduced from: https://www.linuxprobe.com/raspberry-pi-freedos.html

Provide the latest Linux technology tutorial books for free, and strive to do more and better for open source technology enthusiasts, open source site: https://www.linuxprobe.com/

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324931701&siteId=291194637