SSH tunnels ๐
explains use cases and examples of SSH tunnels - A visual guide to SSH tunnels / HN
# ssh
ssh -N -L [local_port]:127.0.0.1:[remote_port] 100.69.234.21# Port forwarding โฎบ
# autossh
# ssh-config
Host bastion
ServerAliveInterval 30
ServerAliveCountMax 3
TCPKeepAlive yes
Notable
- sshuttle / doc - route an entire subnet over SSH - did not understand what id does
- systemd user services + Cockpit (surprisingly nice) - with restrictions for user services
- or custom tools
# see also
- How Attackers Intercept HTTPS - using eBPF trace
- Would this work on ssh - it could but itโs a (bit?) harder
- sshuttle vs kubefwd
Written on February 7, 2021, Last update on September 2, 2026
ssh
network-security