在/etc/hosts.allow中添加sshd:ALL
sed -i '/sshd:ALL/d' /etc/hosts.allow
echo "sshd:ALL" >> /etc/hosts.allow
service sshd restart
在/etc/hosts.allow中添加sshd:ALL
sed -i '/sshd:ALL/d' /etc/hosts.allow
echo "sshd:ALL" >> /etc/hosts.allow
service sshd restart
本文标题:服务器无法远程(centos7)
本文链接:https://www.haomeiwen.com/subject/uochxhtx.html
网友评论