当前位置:网站首页>Solve the problem of SSH configuration file optimization and slow connection
Solve the problem of SSH configuration file optimization and slow connection
2022-04-23 14:22:00 【Small ash pier】
ssh Profile optimization :
vim /etc/ssh/sshd_config
1、 modify root port
Port 9527
2、 Don't allow root The user login
PermitRootLogin no
3、 Do not log in with an empty password
PermitEmptyPasswords no
4、 Ban DNS(ssh Main optimization items with slow connection )
UseDNS no
5、 Don't open GSSAPI authentication (ssh Main optimization items with slow connection )
GSSAPIAuthentication no
Solve the first connection to enter yes The problem of
vim /etc/ssh/ssh_config
StrictHostKeyChecking no
Remember to restart after configuration sshd service !!
版权声明
本文为[Small ash pier]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231409158506.html
边栏推荐
猜你喜欢
随机推荐
贷款市场报价利率(LPR)与贷款基准利率介绍
Arrays类的使用案例
ThreadGroup ThreadGroup implémente l'interface threadfactory en utilisant la classe Introduction + Custom thread Factory
Quickly understand the three ways of thread implementation
x509证书cer格式转pem格式
TLS/SSL 协议详解 (28) TLS 1.0、TLS 1.1、TLS 1.2之间的区别
JS parabola motion packaging method
矩阵交换行列
TUN 设备原理
setcontext getcontext makecontext swapcontext
剑指offer刷题(2)--面向华为
std::map 和 std::vector 内存释放
进入新公司,运维工程师从下面这几项了解系统的部署
线程间控制之CountDownLatch和CyclicBarrier使用介绍
51单片机的直流电机PWM调速控制系统(附Proteus仿真+C程序等全套资料)
API Gateway/API 网关(三) - Kong的使用 - 限流rate limiting(redis)
修改Firebase Emulators的默认侦听IP
如何5分钟上手使用OCR
浅谈skiplist在LevelDB的应用
flannel 原理 之 TUN模式