我注意到我的新机器没有注册 AWS SSM。我 sshed 到 EC2 机器并运行以下命令并得到非常神秘的错误:
[ec2-user@ip-10-0-15-143 ~]$ sudo systemctl enable amazon-ssm-agent
Failed to execute operation: Cannot send after transport endpoint shutdown
[ec2-user@ip-10-0-15-143 ~]$ sudo systemctl start amazon-ssm-agent
Failed to start amazon-ssm-agent.service: Unit is masked.
[ec2-user@ip-10-0-15-143 ~]$
我尝试使用谷歌搜索并没有发现任何有用的东西。也许 SSM 设置不正确?帮助!