```aws ecs execute-command --cluster cluster-79da7...
# getting-started
s
Copy code
aws ecs execute-command --cluster cluster-79da775     --task 4791ddaf725a4244a39fcf01943a5ce7  --container my-app     --interactive     --command "/bin/sh"

The Session Manager plugin was installed successfully. Use the AWS CLI to start a session.


An error occurred (TargetNotConnectedException) when calling the ExecuteCommand operation: The execute command failed due to an internal error. Try again later.