folk.zone Wiki

a public knowledge base

Site Tools


terminal:tools:ssh_via_cloudflare

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

terminal:tools:ssh_via_cloudflare [2026/09/23 14:52] – created - external edit 127.0.0.1terminal:tools:ssh_via_cloudflare [2026/10/23 15:46] (current) – external edit 127.0.0.1
Line 3: Line 3:
 **DEPRECATED:** This guide is no longer relevant for folk.zone. The nitro server uses direct SSH access instead of Cloudflare tunnels. **DEPRECATED:** This guide is no longer relevant for folk.zone. The nitro server uses direct SSH access instead of Cloudflare tunnels.
  
-Access the server securely over SSH from anywhere — no open inbound ports required.+Access the server securely over SSH from anywhere: no open inbound ports required.
  
 ===== Setup ===== ===== Setup =====
Line 12: Line 12:
  
 <code> <code>
-Host brennan-ssh+Host my-server
     Hostname ssh.folk.zone     Hostname ssh.folk.zone
-    User brennan+    User yourname
     ProxyCommand cloudflared access ssh --hostname %h     ProxyCommand cloudflared access ssh --hostname %h
     IdentityFile ~/.ssh/id_ed25519     IdentityFile ~/.ssh/id_ed25519
Line 22: Line 22:
  
 <code bash> <code bash>
-ssh brennan-ssh+ssh my-server
 </code> </code>
  
 ===== How It Works ===== ===== How It Works =====
  
-''cloudflared access ssh'' acts as a ProxyCommand — it opens a Cloudflare Access tunnel for the SSH connection. Traffic is end-to-end encrypted and routed through Cloudflare's edge, with no inbound ports open on the server.+''cloudflared access ssh'' acts as a ProxyCommand: it opens a Cloudflare Access tunnel for the SSH connection. Traffic is end-to-end encrypted and routed through Cloudflare's edge, with no inbound ports open on the server.
  
 ===== Benefits ===== ===== Benefits =====
Line 38: Line 38:
 ===== Note on Current Setup ===== ===== Note on Current Setup =====
  
-The current homelab is LAN-only (''ssh brennan@192.168.1.67'') since it's on the home network. This technique is most valuable for a VPS or when connecting remotely.+The current homelab is LAN-only (''ssh user@server'') since it's on the home network. This technique is most valuable for a VPS or when connecting remotely.
  
 ===== See Also ===== ===== See Also =====
   * [[terminal:tools:start|Terminal Tools Index]]   * [[terminal:tools:start|Terminal Tools Index]]
  
-  * [[folkzone:services:cloudflared|Cloudflare Tunnel]] +  * Cloudflare Tunnel 
-  * [[terminal:tools:ssh_homelab|SSH — Homelab Server]]+  * [[terminal:tools:ssh_homelab|SSH: Homelab Server]]
   * [[terminal:start|Return to terminal]]   * [[terminal:start|Return to terminal]]
  
terminal/tools/ssh_via_cloudflare.1790196766.txt.gz · Last modified: by 127.0.0.1