LoginSignup
0
0

More than 1 year has passed since last update.

AWS SSH 認証のメモ(備忘録)

Last updated at Posted at 2022-04-29

備忘録

// 秘密鍵をsshディレクトリに移動
$ mv ~/Downloads/[ファイル名] ~/.ssh/

// 秘密鍵の使用設定
$ chmod 400 ~/.ssh/[ファイル名]

// 秘密鍵を使用してEC2にログイン
$ssh -i ~/.ssh/[ファイル名] ec2-user@[EC2のパブリックIPアドレス]

//ログアウトする場合
$ exit

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