Skip to content

Instantly share code, notes, and snippets.

@benschw
Created May 9, 2013 23:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benschw/5551387 to your computer and use it in GitHub Desktop.
Save benschw/5551387 to your computer and use it in GitHub Desktop.
runt virtualbox vm headless with ssh@2222
~$ VBoxManage modifyvm "ubuntu-vm" --natpf1 "guestssh,tcp,127.0.0.1,2222,,22"
~$ VBoxHeadless -s ubuntu-vm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment