반응형
목적 : XInetDaemon으로 SSH 서비스를 실행한다.
환경 : Fedora Core 2
RPM : openssh-server xinetd ( 그외 다수 )
( 상기된 RPM은 기본적으로 깔리는 패키지이다. )


1. /etc/xinetd.d 에 xsshd 파일을 생성한다.
인용:
#cd /etc/xinet.d/
#touch xsshd
#vi xsshd

2. xsshd 내용은 다음과 같다.
코드:
service ssh
{
      disable = no
      flags = REUSE
      socket_type = stream
      wait = no
      user = root
      server = /usr/sbin/sshd
      server_args = -i
      log_on_failure += USERID
}

3. xinetd.d를 재시동한다.
인용:
#/etc/init.d/xinetd restart


4. Standalone으로 돌고 있는 sshd를 끈다.
인용:
#/etc/init.d/sshd stop




,