连接xshell失败,报错如下图,怎么解决呢。XShell连接失败:Could not connect to '192.168.191.128' (port 22): Connection failed.
1、通过ps -e|grep ssh命令判断是否安装ssh服务
XShell连接失败:Could not connect to '192.168.191.128' (port 22): Connection failed.
2、如果只有客户端安装了,服务器没有安装,则需要安装ssh服务器,命令:apt-get install openssh-server
XShell连接失败:Could not connect to '192.168.191.128' (port 22): Connection failed.
3、安装成功之后,启动ssh服务,命令:/etc/init.d/ssh start
XShell连接失败:Could not connect to '192.168.191.128' (port 22): Connection failed.
4、通过ps -e|grep ssh命令再次判断是否正确启动
XShell连接失败:Could not connect to '192.168.191.128' (port 22): Connection failed.
5、启用成功后重新连接,滴滴滴,安排上了
XShell连接失败:Could not connect to '192.168.191.128' (port 22): Connection failed.

相关文章:

  • 2021-06-29
  • 2021-04-14
  • 2021-06-17
  • 2021-07-26
  • 2021-05-04
  • 2021-09-30
  • 2021-04-24
  • 2021-07-17
猜你喜欢
  • 2021-10-05
  • 2021-11-14
  • 2021-11-04
  • 2021-07-31
  • 2022-12-23
  • 2022-12-23
  • 2021-04-04
相关资源
相似解决方案