Skip to content

Instantly share code, notes, and snippets.

@kofruge
kofruge / ssh-gpg-yubikey-macos.md
Created March 14, 2026 17:43 — forked from andreibosco/ssh-gpg-yubikey-macos.md
SSH keys on a Yubikey in a Mac

Based on https://davecoyle.com/tech-notes/ssh-keys-on-a-yubikey-mac/

SSH keys on a Yubikey in a Mac

Software Stuff

  • Install the YubiKey Manager CLI (ykman); alternative installation options can be found here: brew install ykman

  • Install GPG >= 2.1. Version 2.1 simplified the running of gpg-agent. The version isn’t a hard requirement, but it might make your life easier.

@kofruge
kofruge / autossh-plex-tunnel.service
Created September 30, 2024 17:50 — forked from MarMed/README.md
Routing plex traffic through an SSH tunnel
[Unit]
Description=AutoSSH tunnel service Plex on local port 32400
After=network.target
[Service]
Environment="AUTOSSH_GATETIME=0"
ExecStart=/usr/bin/autossh -M 40584 -o "compression=no" -o "cipher=aes128-gcm@openssh.com" -o "ServerAliveInterval 30" -o "ServerAliveCountMax 3" -NR 32400:localhost:32400 root@TUNNELIP
User=root
[Install]
@kofruge
kofruge / self-host-behind-cgnat.md
Created September 30, 2024 17:40 — forked from Quick104/readme.md
Expose a server behind CG:NAT via Wireguard

Keybase proof

I hereby claim:

  • I am kofruge on github.
  • I am kofruge (https://keybase.io/kofruge) on keybase.
  • I have a public key whose fingerprint is 2FF8 EB81 0942 707D 2B5D 779D B659 12C2 996B D920

To claim this, I am signing this object: