ssh into your VirtualBox virtual machine from a Windows host

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]

One thought on “ssh into your VirtualBox virtual machine from a Windows host

Leave a reply to Michael Iatrou Cancel reply