Note to self:
VBoxManage modifyvm "VM name" --natpf1 "host-to-guest-ssh,tcp,,2222,,22"
Now you can ssh into 127.0.0.1 port 2222 and log into the virtual machine.
[details]
Note to self:
VBoxManage modifyvm "VM name" --natpf1 "host-to-guest-ssh,tcp,,2222,,22"
Now you can ssh into 127.0.0.1 port 2222 and log into the virtual machine.
[details]
Applies also for Linux host… ;)