Skip to content

Instantly share code, notes, and snippets.

View LoboHacks's full-sized avatar

Oliver Sorg LoboHacks

  • Hessen, Germany
View GitHub Profile
@LoboHacks
LoboHacks / ssh-config
Last active June 1, 2022 13:48
Dynamic ssh config for cloudflare access with short-lived certificates
Match host *.mydomain.com exec "cloudflared access ssh-gen --hostname %h"
ProxyCommand cloudflared access ssh --hostname %h
IdentityFile ~/.cloudflared/%h-cf_key
CertificateFile ~/.cloudflared/%h-cf_key-cert.pub
### Keybase proof
I hereby claim:
* I am lobohacks on github.
* I am lobohacks (https://keybase.io/lobohacks) on keybase.
* I have a public key ASA8fu_dnkbpp6qHqOk6k96L1bclW9qgMUg_9VZPXwJ3_wo
To claim this, I am signing this object: