If you want to configure your sshd, follow the steps bellow:
1. First stop the guest OS
2. On CLI: type the three instructions
# VBoxManage setextradata "Linux Guest" "VBoxInternal/Devices/e1000/0/LUN#0/Config/guestssh/Protocol" TCP
e.g. ssh goes via TCP
# VBoxManage setextradata "Linux Guest" "VBoxInternal/Devices/e1000/0/LUN#0/Config/guestssh/GuestPort" 22
p.s. 22 is sshd port default value
# VBoxManage setextradata "Linux Guest" "VBoxInternal/Devices/e1000/0/LUN#0/Config/guestssh/HostPort" 2222
p.s. I'd like to apply 2222 on host OS to forward the service for me
3. Then the service is forwarded!!
P.S. e1000 is my adapter Intel PRO 1000; can be replaced according to your own settings.
No comments:
Post a Comment