课程: Linux System Engineer: Networking and SSH
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Optimize SSH for speed
- [Instructor] SSH is secure first and fast second. When we're using it on a local trusted network, we might want to optimize it for the fastest performance even if it means we give up a little bit of security. When connecting to another host, SSH tries various forms of authentication, one after another. If we're using keys, we can tell it to skip straight to public key authentication. Long options like this are best put in the per user configuration files, which we covered earlier in this course. If it takes a really long time to log in, then you have a problem with your DNS system. SSH tries to do a reverse DNS lookup for security reasons. The best solution is to fix your DNS server, but if this is outside your control, you can turn off DNS lookups in your SSH server configuration. This would be done on the remote SSH server configuration N/SE/SSH/SSHD_config. Change use DNS = yes to use DNS = no. Be sure to restart the remote SSH service for it to be active. We can also have…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。