mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-05-10 22:06:36 +00:00
12 lines
437 B
Plaintext
12 lines
437 B
Plaintext
Host *
|
|
AddressFamily inet
|
|
|
|
Host {{hostname}}
|
|
ProxyCommand bash -c '/usr/local/bin/cloudflared access ssh-gen --hostname %h; ssh -F /root/.ssh/short_lived_cert_config -tt %r@cfpipe-{{hostname}} >&2 <&1'
|
|
|
|
Host cfpipe-{{hostname}}
|
|
HostName {{hostname}}
|
|
ProxyCommand /usr/local/bin/cloudflared access ssh --hostname %h
|
|
IdentityFile ~/.cloudflared/{{hostname}}-cf_key
|
|
CertificateFile ~/.cloudflared/{{hostname}}-cf_key-cert.pub
|