Ssh 를 xinetd 로 설정 방법

   

   

ssh xinetd 추가 방법

1)#yum -y install xinetd
2) vi /etc/xinetd.d/opensshd 파일 생성
#vi /etc/xinetd.d/opensshd

# default: off
# description: OpenSSH server daemon For XINETD
service ssh
{
disable = no
flags = REUSE
protocol = tcp
socket_type = stream
instances = 50
wait = no
user = root
server = /usr/sbin/sshd
server_args = -i
log_on_success = HOST PID
log_on_failure = HOST
}

:wq 로 저장

3)
#chkconfig sshd off
#chkconfig --del

4)#ntsysv
opensshd 추가 되었는지 확인

5)service xinetd restart

   

   

   

'Hacking > Linux' 카테고리의 다른 글

[웹서버] NginX 설치하기  (0) 2016.03.14
리눅스 시스템 관리자가 알아야할 50 가지  (0) 2015.11.18
Kali Linux로 FootPrinting  (0) 2015.11.18
Bind 정리  (0) 2015.11.18
Daemon ( 데몬 )  (0) 2015.11.18

+ Recent posts