I am new to VB.
I installed Ubuntu 8.x succesfully but I fail to configure NAT port forwarding.
I issue the following commands from my mac command line:
Code: Select all
VBoxManage setextradata "dev-center" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/GuestPort" 22
VBoxManage setextradata "dev-center" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/Protocol" TCP
VBoxManage setextradata "dev-center" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/HostPort" 2222
Code: Select all
ssh -l <username> -p 2222 localhost
Code: Select all
ssh_exchange_identification: Connection closed by remote host
how can I check if my ssh command is actually refused by the quest os and not from the host?
Thank you in advance,
Kostas