centos7.1 设置ssh只允许用户从指定的IP登陆

vim /etc/ssh/sshd_config

AllowUsers [email protected]

systemctl restart sshd.service

猜你喜欢

转载自blog.csdn.net/slovyz/article/details/53216338