Linux
특정 IP 만 ssh 허용
enterit
2023. 9. 14. 15:05
* 먼저 모두 막고
vi /etc/hosts.deny
sshd: All
* 특정 IP만 허용
vi /etc/hosts.allow
sshd: 1.1.1.1
sshd: 2.2.2.2