Skip to content

Instantly share code, notes, and snippets.

@hblanks
hblanks / add-host-key.py
Created July 31, 2019 14:47
Add SSH host key from EC2 console output
#!/usr/bin/env python3
#
# Copyright (C) 2019 by Hunter Blanks <hblanks@artifex.org>
#
# Permission to use, copy, modify, and/or distribute this software for
# any purpose with or without fee is hereby granted.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
# WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE

Keybase proof

I hereby claim:

  • I am hblanks on github.
  • I am hblanks (https://keybase.io/hblanks) on keybase.
  • I have a public key whose fingerprint is 4AD4 0277 349B 8FE3 0FC5 9BB0 6EDE FA89 368D 6AAB

To claim this, I am signing this object: