Open a local SOCKS proxy for browser or CLI traffic.
Section: Forwarding Basics
Create a SOCKS proxy
bash
bash
ssh -D 1080 user@example.comExplanation
Open a local SOCKS proxy for browser or CLI traffic.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Forwarding Basics
Create a local port forward
Forward a local port to a remote host and port.
Run a tunnel in background
Create a tunnel without running a remote shell.
Forward a UNIX socket
Forward a local UNIX socket to a remote UNIX socket.
Remote forward with gateway ports
Allow remote listeners to bind beyond localhost when server policy permits it.