- セキュリティG空けなしでSSHできるというのでトライ
接続する側の準備†
https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html
接続される側の準備†
参考資料†
トラブルシューティング†
接続できない†
ssh -i ~/.ssh/aws_xxxx.pem ec2-user@i-04630e680feb79729
An error occurred (TargetNotConnected) when calling the StartSession operation: i-04630e680feb79729 is not connected.
ssh_exchange_identification: Connection closed by remote host
- AWS CLI 用の Session Manager プラグインをインストールする
sudo yum install -y https://s3.amazonaws.com/session-manager-downloads/plugin/latest/linux_64bit/session-manager-plugin.rpm