I've got two virtual machines defined AND running under virtualbox:
Guest Machine #1:
Code: Select all
bash-3.2$ vm1=LibraryLink/Machines/ubu_9_04_server_min_base
bash-3.2$ VBoxManage getextradiata $vm1 enumerate
VirtualBox Command Line Management Interface Version 2.2.4
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.
Key: GUI/SaveMountedAtRuntime, Value: yes
Key: GUI/LastWindowPostion, Value: 10,259,720,422
Key: GUI/Fullscreen, Value: off
Key: GUI/Seamless, Value: off
Key: GUI/AutoresizeGuest, Value: on
Key: VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/Protocol, Value: TCP
Key: VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/GuestPort, Value: 22
Key: VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/HostPort, Value: 2222
Code: Select all
bash-3.2$ vm2=ubu_9_04_server_min_base_mysql_5.1.35
bash-3.2$ VBoxManage getextradata $vm1 enumerate
VirtualBox Command Line Management Interface Version 2.2.4
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.
Key: VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/Protocol, Value: TCP
Key: VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/GuestPort, Value: 22
Key: VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/HostPort, Value: 2223
Key: GUI/LastWindowPostion, Value: 22,347,720,422
Key: GUI/Fullscreen, Value: off
Key: GUI/Seamless, Value: off
Key: GUI/AutoresizeGuest, Value: on
Code: Select all
bash-3.2$ ssh -l ge -p 2222 localhost
ge@localhost's password:
Linux ubumin 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
To access official Ubuntu documentation, please visit:
http://help.ubuntu.com/
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
To access official Ubuntu documentation, please visit:
http://help.ubuntu.com/
Last login: Sat Jun 6 14:36:56 2009
ge@ubumin:~$ uname -a
Linux ubumin 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux
ge@ubumin:~$ exit
logout
Connection to
But I cannot ssh from the Host to Guest #1. I just get a timeout:
Code: Select all
bash-3.2$ ssh -l ge -p 2223 localhost
^C
bash-3.2$ exit
Other than "Forget about it", that is.
-- ge