Solve the problem of slow login to intranet ssh/mysql. The company's development environment will be deployed on the Intranet. Then there will be a public server for everyone to develop and test on, so there will often be ssh connection to the server, or the local mysql client needs to connect to the server. Companies I have personally experienced often encounter slow connection to the public server through ssh/mysql, this is because ssh and mysql services will perform reverse DNS resolution at login by default, while the Intranet is usually not equipped with the DNS service, then we can only wait for these services to time out, then we can allow our login to pass through, and the solution is also very simple, as long as the corresponding service resolution is closed. Www.2cto.com is ssh first, as follows:/etc/ssh/sshd_config UseDNS no GSSAPIAuthentication no GSSAPICleanupCredentials yes followed by mysql service:/etc/my. ini [mysqld] skip-name-resolve skip-grant-tables. Just restart our ssh and mysql services, and the ssh/mysql connection will be fast again. Of course, for online machines, we still need to enable these security mechanisms.