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 3 years have passed since last update.

VirtualBox で ssh が繋がらないときにとりあえず設定して欲しいたった1つのこと

Last updated at Posted at 2020-10-04

概要

ssh した際に Connection refused が出た場合、
sshd サービスがサーバ側で立ち上がっていないとかポートが開いていないとかはよくある話ですが、
そういう設定は全部してるはずだよなぁって時にとりあえず設定してみてほしいです。

環境

  • Windows10
  • VirtualBox 6.1.14 (2020.10.04 現在)

設定

設定 > ネットワーク > NAT > 高度 > ポートフォワーディング
を開きます。
image (2).png

ローカルとリモートのポートフォワードを設定します。
image (3).png

終わりに

ちょっと前まで(とは言っても1年以上前だけど)はこんな設定あったかな?
って感じなのですが、最近の VirtualBox は必要なんですかね。
理屈は分かるけど、個人的にはデフォルトでは同じフォワーディングにして欲しいです…

Windows10 と VirtualBox の組み合わせでしか確認出来ていないので
そこはご容赦ください。

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?