- 追加された行はこの色です。
- 削除された行はこの色です。
#author("2022-11-27T22:53:51+00:00","default:wikiadmin","wikiadmin")
#author("2023-09-02T07:28:00+00:00","default:wikiadmin","wikiadmin")
-セキュリティG空けなしでSSHできるというのでトライ
*接続する側の準備 [#w367eefd]
https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html
*接続される側の準備 [#e41a4924]
*参考資料 [#uf73e1f6]
-https://dev.icare.jpn.com/dev_cat/aws_ssm_session_manager_introduction/
*トラブルシューティング [#db4b1899]
**接続できない [#v24b5455]
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