Skip to content

Instantly share code, notes, and snippets.

@ties
Last active March 29, 2020 11:23
Show Gist options
  • Save ties/602488225801db9039e050f407d63809 to your computer and use it in GitHub Desktop.
Save ties/602488225801db9039e050f407d63809 to your computer and use it in GitHub Desktop.
Header of my SSH config (~/.ssh/config): Multiplexing of connections and yubikey using PKCS11Provider
Host *
ForwardX11 no
ForwardX11Trusted no
ForwardAgent no
VisualHostKey yes
ControlMaster auto
ControlPersist 1
ServerAliveInterval 300
ServerAliveCountMax 2
ControlMaster auto
ControlPath ~/.ssh/multiplex/%r@%h:%p
Host github.com
IdentitiesOnly yes
HostKeyAlias github.com
Hostname github.com
user git
PKCS11Provider /usr/local/opt/opensc/lib/pkcs11/opensc-pkcs11.so
IdentityFile /Users/kockt/.ssh/id_ed25519_git@github_com
# etc etc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment