LoginSignup
1
0

More than 5 years have passed since last update.

[メモ] AWS EC2のサーバにssh接続で入る

Last updated at Posted at 2018-04-20

手順

  1. 踏み台サーバに入る
  2. 踏み台経由で入りたいサーバ(アプリケーションのサーバーなど)に入る

ところで、踏み台は英語でbastionというらしい。

コマンド

  1. 踏み台サーバにSSH接続する
ssh -i {鍵までのパス} ec2-user@踏み台のIP
  1. 踏み台サーバのホームディレクトリから、サーバ(アプリケーションのサーバーなど)にSSH接続する
ssh -i {鍵までのパス} ec2-user@入りたいサーバのIP

参考

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