Skip to content

Instantly share code, notes, and snippets.

@nlopez
nlopez / github_authorized_keys.sh
Last active September 22, 2017 18:27
Get your authorized keys from GitHub - don't try this at home^Wwork!
# Requires OpenSSH 6.9/6.9p1 (2015-07-01)
# These steps will use the https://github.com/$USER.keys keys as SSH authorized keys
# Your SSH username and GitHub username must match
# If they don't, you can add some translation to the github_authorized_keys script
#
# By default, if no match is found from this command, auth will fall back to
# AuthorizedKeysFile. If you don't want this behavior you can set AuthorizedKeysFile /dev/null
# But for reliability reasons, I don't encourage this
# Create GitHub authorized keys script

Keybase proof

I hereby claim:

  • I am nlopez on github.
  • I am nlopez (https://keybase.io/nlopez) on keybase.
  • I have a public key whose fingerprint is 9C63 676F AEF7 0738 C963 7DD3 8444 FBC4 DF3C 85E3

To claim this, I am signing this object:

# Usage: ansible-playbook -i localhost, ansible_minimal_debug.yaml
- hosts: localhost
connection: local
gather_facts: no
tasks:
- name: Say hello
debug:
msg: "Hello from Ansible version {{ansible_version.string}}"

Keybase proof

I hereby claim:

  • I am nlopez on github.
  • I am nlopez (https://keybase.io/nlopez) on keybase.
  • I have a public key ASAzmPTye63F23Z2XUQ4H0AEASbtSjjB-LvVh8aQYZ6Uvgo

To claim this, I am signing this object: