centos7虚拟机安装后sshd免密/关闭selinux/同步时间常用配置
背景:在服务器越来越多的场景下,我们通常会使用ssh的方式跳转登录到目标机器来简化登录服务器的步骤ssh [-l login_name] [-p port] [user@]hostnamecentos7 三台(1已配置完主机名;关闭防火墙) 网络通畅,可以通过主机名ping通1.设置免密登录1.1 打开sshd服务1:编辑/etc/ssh/sshd_configRSAAuthentication yesPubkeyAuthentication yesAuth
原创
2021-08-23 16:24:57 ·
1148 阅读 ·
0 评论