"Sshd"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-<source lang='cli'> +<source lang='console'>))
8번째 줄: 8번째 줄:
*기본 포트로 22번을 사용
*기본 포트로 22번을 사용


<source lang='cli'>
<source lang='console'>
[root@zetawiki ~]# service sshd status
[root@zetawiki ~]# service sshd status
openssh-daemon (pid  1993) is running...
openssh-daemon (pid  1993) is running...
</source>
</source>
<source lang='cli'>
<source lang='console'>
[root@zetawiki ~]# netstat -anp | grep LISTEN | grep sshd
[root@zetawiki ~]# netstat -anp | grep LISTEN | grep sshd
tcp        0      0 0.0.0.0:22                  0.0.0.0:*                  LISTEN      1993/sshd           
tcp        0      0 0.0.0.0:22                  0.0.0.0:*                  LISTEN      1993/sshd           

2016년 3월 29일 (화) 11:32 판

1 개요

OpenSSH SSH daemon; openssh-daemon; sshd
/usr/sbin/sshd
SSH 데몬, 보안쉘 데몬, 리눅스 SSH 서버
  • 리눅스에 SSH(보안쉘) 접속을 할 수 있게 해주는 SSH 서버 데몬
  • 설정 파일은 /etc/ssh/sshd_config
  • 기본 포트로 22번을 사용
[root@zetawiki ~]# service sshd status
openssh-daemon (pid  1993) is running...
[root@zetawiki ~]# netstat -anp | grep LISTEN | grep sshd
tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      1993/sshd           
tcp        0      0 :::22                       :::*                        LISTEN      1993/sshd
→ IPv4, IPv6 모두 LISTEN 중

2 기본 명령어

다음 명령어로 시작(start), 중지(stop), 재시작(restart)을 할 수 있다.

service sshd start
service sshd stop
service sshd restart

3 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}