virtualbox下 的 ubuntu 配置 SSH

访问量: 2328

实际上是个转帖

 

http://muffinresearch.co.uk/archives/2010/02/08/howto-ssh-into-virtualbox-3-linux-guests/

 

主要步骤是:

1. 配置 第二个网卡。

 

 

 

2.编辑文件:    /etc/network/interfaces, 增加以下内容, 然后  运行:  sudo ifup eth1

 

auto eth1
iface eth1 inet static
    address 192.168.56.10   #注意: 这里是 ...56.10, 不是56.1
    netmask 255.255.255.0


订阅/RSS Feed

Subscribe