当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
mysql查询库大小
Processing MKDIR: unable to create directory 'AAA': read only file system
API Gateway/API 网关(二) - Kong的使用 - 负载均衡Loadbalance
TLS/SSL 协议详解 (30) SSL中的RSA、DHE、ECDHE、ECDH流程与区别
差分隐私(背景介绍)
555定时器+74系列芯片搭建八路抢答器,30s倒计时,附Proteus仿真等
How does void * exist?
Uni app message push
Wechat applet rotation map swiper
elk安装
mysql锁数据库锁
ArrayList集合基本使用
Debug on TV screen
krpano全景之vtour文件夹和tour
js 格式化时间
ie8 浏览器提示是否 阻止访问js脚本
Redis cluster 原理
在电视屏幕上进行debug调试
gif转为静态图片处理
Five ways of using synchronized to remove clouds and fog are introduced