1、先使用 dpkg -l | grep ssh查看一下,只发现系统中只安装了客户端

2、安装sshsudo apt-get install ssh

3、等待安装完成

4、再使用查看ssh安装情况 dpkg -l | grep ssh

5、启动 sudo /etc/init.d/ssh start

6、然后查看状态/etc/init.d/ssh status or ps -e | grep sshd

7、最后用XShell连接

1、先使用 dpkg -l | grep ssh查看一下,只发现系统中只安装了客户端
2、安装sshsudo apt-get install ssh
3、等待安装完成
4、再使用查看ssh安装情况 dpkg -l | grep ssh
5、启动 sudo /etc/init.d/ssh start
6、然后查看状态/etc/init.d/ssh status or ps -e | grep sshd
7、最后用XShell连接