반응형
리눅스 터미널 아이피 기반 접속 제한
/etc/hosts.allow
#/etc/hosts.allow
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
sshd, in.telnetd, vsftpd : 127.0.0.1 : allow
sshd, in.telnetd, vsftpd : ALL : deny
rsync : 125.126.127.128
rsync : 서버 아이피
반응형
'Linux' 카테고리의 다른 글
ssh 접속시 "~~~ port 22: Connection refused" (1) | 2012.07.09 |
---|---|
로그 이쁘게 보기! tail 과 awk (1) | 2010.04.07 |