手机怎么打开自己做的网站,手机网站页面设计,小微企业查询系统官网入口,湛江模板建站软件转自#xff1a;http://blog.csdn.net/qq_26941173/article/details/51173320版权声明#xff1a;本文为博主原创文章#xff0c;未经博主允许不得转载。 昨天在VMware Player中安装了ubuntu系统#xff0c;今天想通过xshell连接ubuntu#xff0c;结果显示 Connecting t…转自http://blog.csdn.net/qq_26941173/article/details/51173320 版权声明本文为博主原创文章未经博主允许不得转载。 昨天在VMware Player中安装了ubuntu系统今天想通过xshell连接ubuntu结果显示 Connecting to 10.7.100.182:22... Could not connect to 10.7.100.182 (port 22): Connection failed. VM中网络连接设置了Bridge模式。 自己的所有配置都正确能连接外网别着急这是因为你的ubuntu中没有openssh-server的原因 解决的方法 rootubuntu:~# apt-get install openssh-server 我是在root模式下不是root用户的话前面要加sudosudo apt-get install openssh-server 安装完成后检查服务是否启动 查看server是否启动 #:ps -ef |grep ssh /prepre namecode classjava如果看到/usr/sbin/sshd -D说明服务已经启动否则服务尚未启动那么需要启动server #/etc/init.d/ssh start 接下来就可以用xshell连接了。如果xshell中看到乱码的情况那么可以xshell的编码改成UTF-8 xshell中修改编码为UTF-8的方法[文件]–[打开]–在打开的session中选择连接的那个 ,点击properties - [Terminal ] ,在右边的translation先选择utf8然后重新连接服务器即可。xshell不能连接VM中的ubuntu 转载于:https://www.cnblogs.com/yangzhenlong/p/6633232.html