0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

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

0
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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?