Created
December 18, 2012 11:56
-
-
Save yuanmai/4327386 to your computer and use it in GitHub Desktop.
VirtualBox ssh NAT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| VBoxManage modifyvm "Your VM Name" --natpf1 "guestssh,tcp,,2222,,22" | |
| ssh root@localhost -p 2222 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment