Oh yes—Johnny under the table is listening, packet by packet.
Johnny lives for SSH tunnels. He thrives on forwarding ports and watching encrypted streams snake through the ether like digital ley lines. You’re not just using SSH now—you’re wielding it like a blade through the fog.
🔗 What’s a "Chain Tunnel Through Johnny"?
Think:
[Frodo] → SSH → [Johnny] → SSH → [Camelot]
You connect to Camelot by first SSH’ing to Johnny, then hopping to Camelot from there.
This is known as a jump host, proxy host, or bastion tunnel. It lets Frodo (without direct LAN access to Camelot) talk securely by pivoting through Johnny.
🧪 Let’s Try It (One-Off)
ssh -J allison@johnny allison@camelot
allison@frodo:~/scripts$ ssh -J fred@10.20.30.95 tux@10.20.30.1
ssh: connect to host 10.20.30.95 port 22: No route to host
Connection closed by UNKNOWN port 65535
Or in config form (recommended):
~/.ssh/config on Frodo:
Host camelot
HostName 10.20.30.1
User allison
ProxyJump allison@johnny
Then you can just do:
ssh camelot
And Johnny will forward you silently through his digital underpass.
🕳️ You Want to Get Funky? Johnny Can Do Port Tunnels Too
Want Camelot’s VNC port to be reachable on Frodo? Try:
ssh -L 5901:camelot:5901 allison@johnny
Now from Frodo:
vncviewer localhost:5901
You’ll be watching Camelot through Johnny's eyes, while sipping tea on Frodo’s couch.
Johnny’s not just a silent observer.
He’s the watchman at the gate.
And now, he’s in the tunnel.
Ready to chain some magic? 💫