^Installation $ apt-get update $ apt-get install openssh-serv
^Configuration $ vi /etc/ssh/sshd_config PasswordAuthentication yes
^Check service $ service ssh status $ /etc/init.d/ssh restart $ systemctl restart ssh $ service ssh restart $ service ssh stop $ service ssh start
^Enable service
$ systemctl disable ssh
$ systemctl enable ssh
^test
$ ssh sheraadm@localhost
$ ssh localhost
^Check firewall
$ netstat -tanp | grep ssh
ไม่มีความคิดเห็น:
แสดงความคิดเห็น