Could not connect to‘192.168.184.130‘(port 22): Connection failed.

Posted 技术很low的瓜贼

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Could not connect to‘192.168.184.130‘(port 22): Connection failed.相关的知识,希望对你有一定的参考价值。

问题大概:XShell连接Ubuntu虚拟机出现问题


原因:没有开启ssh server
解决办法:在终端中输入sudo apt-get install openssh-server
完成以后重新使用XShell连接

若再出现如下问题

使用root或者自定义用户名都登陆试试就可以了。

以上是关于Could not connect to‘192.168.184.130‘(port 22): Connection failed.的主要内容,如果未能解决你的问题,请参考以下文章

Xshell 链接 Could not connect to '192.168.80.129' (port 22): Connection failed

解决Xshell:Could not connect to ‘192.168.88.0‘ (port 22): Connection failed

Could not connect to ‘192.168.203.128‘ (port 22): Connection failed.

could not connect to server: Connection refused (0x0000274D/10061)

Could not establish connection to 192.168.x.x DownloadingVS code Server failed please install either

Could not establish connection to 192.168.x.x DownloadingVS code Server failed please install either