Skip to content

Instantly share code, notes, and snippets.

View psoliver92's full-sized avatar

Piran Lehtonen psoliver92

View GitHub Profile
@psoliver92
psoliver92 / gist:dac4d96451cdd998834dd8e4b4f56ece
Created September 26, 2018 14:22
Lambda deploy EC2 script init
"""#!/bin/bash
apt-get update
apt-get install git -qq -y
apt-get install python3.4-venv
cat > /home/id_rsa <<EOF
""" + id_rsa + """
EOF
chmod 600 /home/id_rsa
ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
echo 'host github.com' >> /etc/ssh/ssh_config

Keybase proof

I hereby claim:

  • I am psoliver92 on github.
  • I am psoliver92 (https://keybase.io/psoliver92) on keybase.
  • I have a public key ASAKiGcQVUdELC8Vt__zl5XqSE-q8TKGwVbTGTiYwmvvigo

To claim this, I am signing this object: