Skip to content

Instantly share code, notes, and snippets.

View neersighted's full-sized avatar

Bjorn Neergaard neersighted

View GitHub Profile
@neersighted
neersighted / eic-cli.sh
Created May 9, 2022 21:52 — forked from quiver/eic-cli.sh
simple shell script to demonstrate how EC2 Instance Connect CLI is implemented
#!/bin/bash
# simple shell script to demonstrate how EC2 Instance Connect CLI is implemented.
# https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AccessingInstances.html
#
# Usage
# $ bash eic-cli.sh i-1234
if [ $# -ne 1 ]; then
echo "Usage"
echo "$ bash eic-cli.sh i-1234"