一、安装
sudo apt-get install -y openssh-server
ps -ef | grep sshd
这样才能远程到这台机器上,用的ssh协议
二、启动
sudo /etc/init.d/ssh resart
sudo /etc/init.d/ssh status
sudo /etc/init.d/ssh start/stop
一、安装
sudo apt-get install -y openssh-server
ps -ef | grep sshd
这样才能远程到这台机器上,用的ssh协议
二、启动
sudo /etc/init.d/ssh resart
sudo /etc/init.d/ssh status
sudo /etc/init.d/ssh start/stop
转载于:https://my.oschina.net/cectsky/blog/3006413