查看是否安装了ssh-server服务
dpkg -l | grep ssh
安装ssh-server服务
sudo apt-get install openssh-server
查看服务是否开启
ps -e | grep ssh
启动ssh
sudo /etc/init.d/ssh start
关闭ssh
sudo /etc/init.d/ssh stop
查看是否安装了ssh-server服务
dpkg -l | grep ssh
安装ssh-server服务
sudo apt-get install openssh-server
查看服务是否开启
ps -e | grep ssh
启动ssh
sudo /etc/init.d/ssh start
关闭ssh
sudo /etc/init.d/ssh stop