Skip to content

Instantly share code, notes, and snippets.

@masahide
Created April 22, 2014 01:16
Show Gist options
  • Save masahide/11162164 to your computer and use it in GitHub Desktop.
Save masahide/11162164 to your computer and use it in GitHub Desktop.
VMware player NATで起動したゲストOSにssh接続する ref: http://qiita.com/yamasaki-masahide/items/ccb62e98dff99c2a22a1
host VMnet8 {
# ubuntu
hardware ethernet 00:0c:11:bb:cc:dd;
fixed-address 192.168.21.127;
}
#End
[incomingtcp]
8022 = 192.168.21.127:22
sudo ifdown eth0
sudo ifup eth0
netstat -an|findstr 8022
TCP 0.0.0.0:8022 0.0.0.0:0 LISTENING
ssh ホストOSのIP -p 8022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment