记录下工作中的点滴收获

昨日拿到两台新的服务器B,C,想要通过其他机器A远程登陆,发现在这里插入图片描述
是因为没有配置ssh白名单,解决方法:
在/etc/hosts.allow 用root用户将服务器A加进去就可以登陆了
命令:vim /etc/hosts.allow
打开编辑后在里面加入:sshd:A机器的ip:allow

猜你喜欢

转载自blog.csdn.net/zxaimai/article/details/83892332
今日推荐