=================================================================
OPENSSH-LAB> ssh 를 이용한 top 실행하기
+--------+ +--------+
| | | |
| Client | ---> | Server |
| | | |
+--------+ +--------+
root ---> user : topuser
port : 22
Server# useradd -s /usr/bin/top topuser
Server# echo 1234 | passwd --stdin topuser
Client# ssh topuser@localhost
<-- top 이 실행된다.
Client# ssh -p 22 topuser@localhost <-- -p <포트번호> 참고 : 포트번호가 22일때 생략 가능
topuser@localhost's password:
Client# ssh -p 22 -l topuser localhost <-- topuser@localhost 와 동일
=================================================================