Skip to content

Instantly share code, notes, and snippets.

View robertfairhead's full-sized avatar

Robert Fairhead robertfairhead

View GitHub Profile
@robertfairhead
robertfairhead / yubikey-ssh.md
Created October 2, 2019 13:30 — forked from fancyremarker/yubikey-ssh.md
YubiKey Setup Notes (Draft)

Requirements

This configuration assumes you have:

  • A YubiKey that supports OpenPGP (4, 4 Nano, 4C, or NEO)
  • GPGTools (I couldn't get PIN entry, which is required for interfacing to work with any other GPG's version of pinentry)

Setup

  1. Insert YubiKey into USB port.
@robertfairhead
robertfairhead / 30-randomize-mac-address.conf
Last active February 28, 2018 19:45 — forked from fawkesley/30-randomize-mac-address.conf
MAC address randomization in Ubuntu 17+ (>= 1.4.1): save to /etc/NetworkManager/conf.d/
# /etc/NetworkManager/conf.d/30-randomize-mac-address.conf
# REQUIRES NETWORK MANAGER >= 1.4.1 (Ubuntu Zesty and above)
# Thanks to https://blogs.gnome.org/thaller/2016/08/26/mac-address-spoofing-in-networkmanager-1-4-0/
# This randomize your MAC address for *new* connections
# NOTE: To support captive-portals that rely on a consistent mac address,
# use `cloned-mac-address=stable` in /etc/NetworkManager/system-connections/[network name]

Keybase proof

I hereby claim:

  • I am robertfairhead on github.
  • I am fairhead (https://keybase.io/fairhead) on keybase.
  • I have a public key ASBiIDMcYfZo4OofIKEllIQmRmkyC730Ks91mBmrA4gutQo

To claim this, I am signing this object: