aws ssm start-session
Jump to navigation
Jump to search
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ssm/start-session.html
aws ssm start-session --target "i-1234567890abcdef0" Starting session with SessionId: Jane-Roe-07a16060613c408b5
aws ssm start-session --target "i-1234567890abcdef0" An error ocurred (403) when calling the StartSession operation: Server authentication failed: <UnauthorizedRequest><message>Forbidden.</message></UnauthorizedRequest>
aws ssm start-session --target "i-1234567890abcdef0"
SessionManagerPlugin is not found. Please refer to SessionManager Documentation here: http://docs.aws.amazon.com/console/systems-manager/session-manager-plugin-not-found
Solution: brew install session-manager-plugin
Connecting:
ssh -i /path/my-key-pair.pem ec2-user@i-02573cafcfEXAMPLE
Related[edit]
See also[edit]
- AWS Systems Manager (ASM):
session-manager-plugin
,aws ssm
[get-inventory
|aws ssm parameter
,amazon-ssm-agent
|describe-instance-information
|start-session
|terminate-session
|resume-session | send-command | get-parameter | put-parameter | aws ssm list-instance-profiles | list-command-invocations ]
- AWS Systems Manager Session Manager, port forwarding,
aws ssm start-session
,amazon-ssm-agent
,ssm-installer
Advertising: