본문 바로가기 주메뉴 바로가기

자료실

[리눅스] SSH 확인

관리자 2024-08-06 20:16:18 조회수 3,267

- ssh 실행 확인
#ps -ef | grep ssh
root 2665 1 0 Apr26 ? 00:00:00 /usr/sbin/sshd
root 23149 2665 0 09:29 00:00:01 sshd: root@pts/0
root 23181 2665 0 09:30 00:00:05 sshd: root@pts/1
root 23214 2665 0 09:31 00:00:00 sshd: root@pts/2
root 23494 2665 0 11:43 00:00:01 sshd: root@pts/3
root 23532 2665 0 11:47 00:00:05 sshd: root@
: 위와 같이 나오면 ssh 실행 된 것임
- ssh 실행
#etc/init.d/sshd start
- ssh 설치
#yum install sshd