Xshell连接VirtualBox虚拟机
Xshell连接VirtualBox虚拟机---------【转载】------------作者:DroidMind来源:CSDN原文:https://blog.csdn.net/hp910315/article/details/70555393版权声明:本文为博主原创文章,转载请附上博文链接!前提:安装好VirtualBox虚拟机,并且在虚拟机上安装好Ubuntu系统。打开虚拟机中Ubuntu系
Xshell连接VirtualBox虚拟机
---------【转载】------------
作者:DroidMind
来源:CSDN
原文:https://blog.csdn.net/hp910315/article/details/70555393
版权声明:本文为博主原创文章,转载请附上博文链接!
前提:安装好VirtualBox虚拟机,并且在虚拟机上安装好Ubuntu系统。
打开虚拟机中Ubuntu系统的终端
1、安装sshd服务
$ sudo apt-get install openssh-server
2、开启服务
$ /etc/init.d/ssh start
3、判断是否安装ssh服务,可以通过如下命令进行:
ps -e|grep ssh
另外附上其他两个命令
//关闭服务
$ /etc/init.d/ssh stop
//重启服务
$ /etc/init.d/ssh restart
4、 VirtualBox配置端口转发,点击VirtualBox的设置项
端口转发
端口转发规则
5、 在Window上进行XShell下载和安装
http://www.netsarang.com/xshell_download.html
6、在Windows上使用XShell连接VirtualBox虚拟机
xshell配置
配置好主机和端口点击连接就行
作者:udhga
链接:https://www.jianshu.com/p/dab45574e77c
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
更多推荐
所有评论(0)