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?

EC2 の インバウンドルールで マイ IP を指定したときは、Wifi を変更するとSSH接続できなくなるので注意。

Posted at

躓きポイント

EC2 の インバウンドルールで、マイ IP を指定したが、いつのまにか Wifi が変わっていたためSSH接続できなかった。

確認

WSL2 で下記のコマンドで、自分のグローバルIPアドレスを確認できる。

$ curl ifconfig.me

改善

それぞれの Wifi で使用されるグローバルIPアドレスを確認して、EC2 の インバウンドルールで、使用する可能性のある全てのグローバルIPアドレスからのSSH接続を許可しておく。

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?