SSH/GPG
Tunnels Commands
Create secure tunnels with SSH. Learn local and remote port forwarding, SOCKS proxies, and tunnel management.
8 commands
Pro Tips
Local forward: 'ssh -L 8080:localhost:80 server' - access server's port 80 via local 8080.
Use '-N' to not execute remote command (just tunnel), '-f' to background the connection.
Dynamic SOCKS proxy: 'ssh -D 1080 server' creates a proxy for all traffic through the server.
Common Mistakes
Tunnels can expose internal services. Be careful about what you're making accessible.