[maemo-developers] connect through ssh or telnet to the Virtual Machine with Maemo SDK

From: Stephan Jaensch sj at sjaensch.org
Date: Sun Jan 24 14:47:59 EET 2010
Hi,

Am 23.01.2010 um 20:36 schrieb acano at dsic.upv.es:

> I just installed the  Machine with Maemo SDK and would like to be connect with my nomal linux istalation. Can someone tell me how can I connect through ssh or telnet to the Virtual Machine with Maemo SDK.

That depends on how you configured networking for the VM (I'm assuming you're using VirtualBox). If you chose NAT, which is the default, then you need to do the following on your host OS:

VBoxManage setextradata "Linux Guest" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/Protocol" TCP
VBoxManage setextradata "Linux Guest" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/GuestPort" 22
VBoxManage setextradata "Linux Guest" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/HostPort" 2222

Replace "Linux Guest" with the name of your VM. If the virtual network interface is an Intel PRO/1000, replace pcnet with e1000. After you've done this, you can connect to the ssh server on your VM through port 2222 on your host system. I.e. do "ssh -P 2222 user at 127.0.0.1" on your host OS.

HTH,
Stephan
More information about the maemo-developers mailing list