0
2

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.

AWSへの接続

Posted at

AWSへのSSH接続

・現状
AWS EC2契約を行いました。インスタンスは正常に起動。
セキュリティ SSHを許可。
キーペアを作成。pemファイルをダウンロード。

・状況と疑問
AWSで作成したpemをロードし、秘密鍵を作成。
それを使用し、AWSヘルプを参照しながら、puttyでSSH接続をおこなおうとしたところ、
ユーザ名を入力後、「Server refused our key」というメッセージが
Puttyで表示されSSH接続できませんでした。

秘密鍵の作成手順は
https://docs.aws.amazon.com/ja_jp/AWSEC2/latest/UserGuide/putty.html
を参照。
できたppkファイルをputty側で接続時に設定したのですが、上記のとおり
メッセージがでて、SSH接続は成功していません。

SSH接続を試した時のホスト名、ポート番号は間違っていません。
どの部分を確認したらよいでしょうか?

0
2
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
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?