新建系统配置

解决ssh连接缓慢的问题

修改/etc/ssh/sshd_config

1)UseDNS注释去掉并改为no UseDNS no

2)GSSAPIAuthentication yes 改为 GSSAPIAuthentication no

保存并重启服务

关闭防火墙
systemctl stop firewalld.service
关闭开机启动
systemctl disable firewalld.service

修改时区

ln -s /usr/share/zoneinfo/Asia/Shanghai  /etc/localtime

猜你喜欢

转载自www.cnblogs.com/zhiqiao/p/12190389.html
今日推荐