LoginSignup
0
0

More than 5 years have passed since last update.

OS XでVirtualBoxのポートフォワーディング

Posted at

VirtualBoxで作ったVMにSSHでログインしようと、VM側のNICにNAT設定してホストとゲストともにポート22でポートフォワーディングしようとしたら、弾かれてしまった。

どうやら、ウェルノンポート(と言うらしい)では出来ないようで、ホスト2222、ゲスト(受け側)22にしてやることで接続できた。

ssh -p 2222 user@localhost

【参考にしたサイト】
http://blog.pg1x.com/entry/2014/06/20/234518

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0