configure ssh link

Update current ubuntu system apt-get update

Download ssh development tools apt-get install openssh-server

Modify the configuration file vim /etc/ssh/sshd-config

Allow root account login PermitRootLogin yes

Use ps -ef | grep sshd to find the ssh process number;

kill -9 pid -9 is a strong kill mode

use /etc/init.d/ssh start 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326114396&siteId=291194637