LoginSignup
2
1

More than 3 years have passed since last update.

作ってもらったAWSの本番環境にログインする際に行なったことの覚書

Last updated at Posted at 2019-05-16

今回の目的

作ってもらったAWSの本番環境にログインする際に行なったことを書く

手順

証明書(pemファイル)を教えてもらう
「ダウンロード」フォルダにとりあえず置く
下記コマンドを実行します。

cd
mv Downloads/(ファイル名).pem .ssh/
cd .ssh/
chmod 600 (ファイル名).pem
ssh -i (ファイル名).pem ec2-user@作成したEC2インスタンスと紐付けたElastic IP

下記がでたら「yes」でOK

The authenticity of host 'EC2インスタンスと紐付けたElastic IP (EC2インスタンスと紐付けたElastic IP)' can't be established.
ECDSA key fingerprint is SHA256:5mN2CCRZmBDty4pZRFOTebQ/NuuyEh8/M2rdw4l5SZQ.
Are you sure you want to continue connecting (yes/no)? yes

ログインが完了します。
以上です。

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