查看虚拟机ssh服务是否打开
service sshd status
若是not found,则需要安装openssh-server
sudo apt-get install openssh-server openssh-client
若是inactive,则
service sshd start
也可以查看是否有ssh的服务
ps -e | grep sshd
查看虚拟机ssh服务是否打开
service sshd status
若是not found,则需要安装openssh-server
sudo apt-get install openssh-server openssh-client
若是inactive,则
service sshd start
也可以查看是否有ssh的服务
ps -e | grep sshd