Skip to content

Instantly share code, notes, and snippets.

@mvtango
Created July 7, 2019 01:53
Show Gist options
  • Save mvtango/ff3d6778dfaad59071e6914b64abb1ad to your computer and use it in GitHub Desktop.
Save mvtango/ff3d6778dfaad59071e6914b64abb1ad to your computer and use it in GitHub Desktop.
ssm-install
#! /bin/bash
# from https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-install-managed-linux.html
mkdir /tmp/ssm
curl https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/debian_amd64/amazon-ssm-agent.deb -o /tmp/ssm/amazon-ssm-agent.deb
sudo dpkg -i /tmp/ssm/amazon-ssm-agent.deb
sudo service amazon-ssm-agent stop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment