Windows远程连接VirtualBox虚拟机中的Linux系统
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash

·
环境
PC:windows
PC软件:WinSCP
虚拟机:Ubuntu
Ubuntu配置
首先确认虚拟机的ssh服务是否已经开启
ps -e | grep ssh
如果只有ssh-agent那ssh-server还没有启动,需要/etc/init.d/ssh start,如果看到sshd那说明ssh-server已经启动了,如果启动不成功说明需要安装ssh服务:
sudo apt-get install sshd 或
sudo apt-get install openssh-server
安装后启动成功就可以了
service sshd start 或
/etc/init.d/ssh start
VirtualBox配置
网卡个数需要关闭正在运行的Ubuntu才能设置
网卡1设置网络地址转换(默认)(在此模式下与PC同DNS)
网卡2设置仅主机(Host-Only)网络
网络通信
配置好后启动Ubuntu,终端输入:Ifconfig查看网络地址,第二个,也就是Host-Only中的ip地址,我们在PC端去ping
通信成功,打开WinSCP
填写好对应信息
登录,如果看到以下效果,恭喜您–>>成功
总结




A beautiful web dashboard for Linux
最近提交(Master分支:5 个月前 )
186a802e
added ecosystem file for PM2 4 年前
5def40a3
Add host customization support for the NodeJS version 4 年前
更多推荐
所有评论(0)