Last active
August 21, 2024 07:45
-
-
Save fidanf/c76b4a7c60d10eb8c1909edb191b5379 to your computer and use it in GitHub Desktop.
ssm-agent
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
pushd /tmp | |
wget https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/debian_amd64/amazon-ssm-agent.deb | |
# Update the package list again | |
sudo dpkg -i amazon-ssm-agent.deb | |
# Start the SSM agent | |
sudo systemctl start amazon-ssm-agent | |
# Enable the SSM agent to start at boot | |
sudo systemctl enable amazon-ssm-agent | |
rm -f /tmp/amazon-ssm-agent.deb | |
popd | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment