Xshell不能链接虚拟机(可ping通)--解决方案
重装Linux后,一直无法用Xshell链接,用起来满不方便的,看到这篇博客后终于解决。
引用原地址:http://www.linuxdiyf.com/linux/13107.html
环境 VMware11:通过百度软件中心下载即可,序列号网搜一个即可,我使用的这个: 官方下载地址: VMware.Workstation.v11.0.0注册机 https://www.mixturecloud.com/media/download/B9NuErbL
ip配置错误,或者配置完成没有重启网络连接,但是既然可以ping通应该不是这个问题,但是为了保险起见,还是重启了一下,不过重启之后依旧不奏效。 防火墙问题,关闭windows防火墙,360等,通过命令查看ubuntu防火墙: sudo ufw status 发现防火墙已经是inactive,依旧停一下: sudo ufw disable 可是依旧无效,ubuntu防火墙开放端口命令: sudo ufw allow 22
sudo apt-get install openssh-server 查看安装结果: ps -e |grep ssh 发现sshd已经启动,再次使用xshell或者xftp连接发现成功连接。
使用Xshell密钥认证机制远程登录Linux:http://www.linuxdiyf.com/linux/9585.html Windows下使用xShell向远程Linux上传文件:http://www.linuxdiyf.com/linux/2803.html Xshell用ssh连接Ubuntu掉线解决方法:http://www.linuxdiyf.com/linux/1392.html Xshell登陆Ubuntu的中文乱码解决方案:http://www.linuxdiyf.com/linux/932.html |