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にターミナルソフトから接続する方法

Posted at

ターミナルソフト(ターミナルエミュレータ)とは

ネットワークを通じて他のコンピュータに接続し、コマンドライン方式で遠隔操作するためのソフトウェア。

AMIとしてWindows、ターミナルソフトとしてMobaXtermを使う場合

RDPクライアントを選択し、プライベートキーを使ってパスワードを入手。

image.png

image.png

その後MobaXtermでSessionを選択し、

image.png

Remoteホストにはパブリック IPv4 DNSを、Usernameには「Administrator」を入力。

image.png

3389番ポートはWindowsのリモートデスクトッププロトコル(RDP:Remote Desktop Protocol)が通常使用するポート番号。

AMIとしてAmazon Linux 2023、ターミナルソフトとしてTeratermを使う場合

  • ホストはパブリック IPv4 アドレス

  • ユーザ名は「ec2-user」を入力し、パスフレーズは空白。

  • 認証方式の部分でキーペアを使用する、

  • キーペアを作成する際に、RSAではなくED25519を選択する必要がある。これは、Amazon Linux 2023のSSHサーバー側はssh-rsa署名がデフォルトで使えないためである。rsa-sha2-256またはrsa-sha2-512では接続可能らしく、Tera Termのバージョンが古いとサポートしていない。

image.png

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?