VBoxManage setextradata fc13 "VBoxInternal/Devices/e1000/0/LUN#0/Config/ssh/HostPort" 22
VBoxManage setextradata fc13 "VBoxInternal/Devices/e1000/0/LUN#0/Config/ssh/GuestPort" 22
VBoxManage setextradata fc13 "VBoxInternal/Devices/e1000/0/LUN#0/Config/ssh/Protocol" TCP
При условии что виртуальная машина называется “fc13”, а сетевая карта Intel
Для VirtualBox версии >= 3.2 верно следующее:
VBoxManage modifyvm fc13 --natpf1 "ssh,tcp,,22,,22"
VBoxManage setextradata fc13 "VBoxInternal/Devices/e1000/0/LUN#0/Config/ssh/GuestPort" 22
VBoxManage setextradata fc13 "VBoxInternal/Devices/e1000/0/LUN#0/Config/ssh/Protocol" TCP
При условии что виртуальная машина называется “fc13”, а сетевая карта Intel
Для VirtualBox версии >= 3.2 верно следующее:
VBoxManage modifyvm fc13 --natpf1 "ssh,tcp,,22,,22"