Notes to Self

Alex Sokolsky's Notes on Computers and Programming

AWS Systems Manager (SSM) CLI

reference

Remote access

start-session

aws ssm start-session --target "i-1234567890abcdef0"

Or to login as ubuntu:

aws ssm start-session --document-name AWS-StartInteractiveCommand \
    --parameters '{"command": ["sudo su ubuntu"]}' \
    --target i-0cf519030f32da9ab

see ssh.sh

Bugs

Can’t use Ctrl+Y