System/Linux, unix

[ubuntu] ssh server 설치

opid 2014. 7. 2. 14:58

ubuntu ssh server install

install

sudo apt-get install openssh-server

restart

sudo /etc/init.d/ssh restart
or
service ssh restart

service check

service ssh status
ps ax | grep ssh

service port check

sudo netstat -ntlp | grep ssh
netstat -anp | grep LISTEN | grep sshd