Rilawich Ango schrieb: > Hi Michael, > > Thanks for your reply. I have tried your command but it still > failed to connect from outside to guest OS (CentOS). In NAT mode, the > IP of the guest OS is 10.0.2.15. After I issued 3 commands below in > Host OS (windows 2000). > VBoxManage setextradata "Linux Guest" > "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/Protocol" TCP > VBoxManage setextradata "Linux Guest" > "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/GuestPort" 22 > VBoxManage setextradata "Linux Guest" > "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/HostPort" 2222 > I support can ssh to the guest OS from outside thro' port 2222. > However, I can't find any information about the port setting in > netstat -an. Definitely, the ssh will fail from outside as the port > 2222 isn't listening. I wonder if I have something wrong during the > setting. Could you elaborate it more to make it works?
Forwarding means that you need to connect to the host's normal IP, port 2222. Hope you didn't try to connect to 10.0.2.15 (the guest NAT IP), because that won't work. -- Klaus Espenlaub InnoTek Systemberatung GmbH, http://www.innotek.de _______________________________________________ vbox-users mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-users
