ブラウザベースのSSH接続に失敗しました

ブラウザベースのSSH接続に失敗しました

WebブラウザでAWSのUbuntuマシンに接続してみてください。 ここに画像の説明を入力してください。

エラーが発生しました:

There was a problem setting up the instance connection
Log in failed. If this instance has just started up, try again in a minute or two.

ここに画像の説明を入力してください。

機械は30分間作動します。なぜ接続できないのですか? Puttyの接続はうまくいきます。

ベストアンサー1

前の回答を詳しく説明するには:はい、ec2-instance-connectUbuntuにインストールすると便利です。ブラウザベースのSSHクライアントを使用するには、キーを正しく設定する必要があります。これがこのパッケージの役割です。パッケージの説明は次のとおりです。

Description: Configures ssh daemon to accept EC2 Instance Connect ssh keys
 EC2 Instance Connect is a service that publishes ssh keys for use by EC2
 instances based on AWS Credentials. These keys are consumed by on-instance
 configuration provided by this package. The ssh daemon will query EC2
 Instance Metadata service for user-keys at ssh calltime, validate any if
 present as well as validating their signature, and if all checks pass return
 will include them in the authorized keys list.
 .
 In addition, there is an agent that harvests instance ssh host keys and
 passes them back to the service.  This is for authentication purposes by
 the EC2 console to open an in-browser ssh terminal connection.

おすすめ記事