当前位置:网站首页>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
边栏推荐
- 处理 mkdir:无法创建目录“aaa“:只读文件系统
- js 进度条,显示加载进度
- API Gateway/API 网关(四) - Kong的使用 - 集成Jwt和熔断插件
- API Gateway/API 网关(三) - Kong的使用 - 限流rate limiting(redis)
- Qt界面优化:鼠标双击特效
- elk安装
- Pass in external parameters to the main function in clion
- MYSQL一种分表实现方案及InnoDB、MyISAM、MRG_MYISAM等各种引擎应用场景介绍
- C语言知识点精细详解——初识C语言【1】
- 统信UOS PHP7.2.3升级至PHP7.2.24
猜你喜欢
随机推荐
AT89C52单片机的频率计(1HZ~20MHZ)设计,LCD1602显示,含仿真、原理图、PCB与代码等
Logback logger and root
flannel 原理 之 TUN模式
LLVM - 生成for循环
爬虫练习题(一)
Docker (V) MySQL installation
KVM学习资源
线程间控制之Semaphore使用介绍
Mysql的安装过程(已经安装成功的步骤说明)
贷款市场报价利率(LPR)与贷款基准利率介绍
MySQL lock database lock
Redis cluster 原理
On the problem of cliff growth of loss function in the process of training
线程间控制之CountDownLatch和CyclicBarrier使用介绍
TLS/SSL 协议详解 (30) SSL中的RSA、DHE、ECDHE、ECDH流程与区别
剑指offer刷题(1)--面向华为
555定时器+74系列芯片搭建八路抢答器,30s倒计时,附Proteus仿真等
ThreadGroup ThreadGroup implémente l'interface threadfactory en utilisant la classe Introduction + Custom thread Factory
修改Firebase Emulators的默认侦听IP
LLVM - 生成局部变量