xshell不能连接VM中的ubuntu
2015-10-24 19:28
459 查看
前些天在VMware中安装了ubuntu系统,今天想通过xshell连接ubuntu,结果显示
Connecting to 10.61.198.215:22...
Could not connect to '10.61.198.215' (port22): Connection failed.
VM中网络连接设置了Bridge模式。
网络查找解决办法如下:
xshell连接不了ubuntu,原因没有安装openssh-server,解决方法:
$:sudo apt-get install openssh-server
查看server是否启动:
$:ps -ef |grep ssh
如果看到/usr/sbin/sshd -D,说明服务已经启动,否则服务尚未启动,那么需要启动server:
$:/etc/init.d/sshstart
接下来就可以用xshell连接了。
Connecting to 10.61.198.215:22...
Could not connect to '10.61.198.215' (port22): Connection failed.
VM中网络连接设置了Bridge模式。
网络查找解决办法如下:
xshell连接不了ubuntu,原因没有安装openssh-server,解决方法:
$:sudo apt-get install openssh-server
查看server是否启动:
$:ps -ef |grep ssh
如果看到/usr/sbin/sshd -D,说明服务已经启动,否则服务尚未启动,那么需要启动server:
$:/etc/init.d/sshstart
接下来就可以用xshell连接了。
相关文章推荐
- Ubuntu 默认壁纸历代记
- Ubuntu Remix Cinnamon 20.04 评测:Ubuntu 与 Cinnamon 的完美融合
- Linux socket 初步
- 关于Ubuntu 11.10启动提示waiting for the network configuration的问题
- 在 Ubuntu 桌面中使用文件和文件夹
- linux lsof详解
- linux 文件权限
- Linux 执行数学运算
- 10 篇对初学者和专家都有用的 Linux 命令教程
- Linux 与 Windows 对UNICODE 的处理方式
- Ubuntu12.04下QQ完美走起啊!走起啊!有木有啊!
- 解決Linux下Android开发真机调试设备不被识别问题
- ubuntu下chrome无法同步问题解决
- 运维入门
- 运维提升
- Linux 自检和 SystemTap
- Ubuntu Linux使用体验
- c语言实现hashmap(转载)