Manual SSH cheat sheet: port forwarding, SOCKS proxy and hidden console

Broker

Moderator
Staff member
Moderator
Exclusive
Infinity
Premium
Member
Joined
Apr 23, 2026
Messages
170
Reaction score
3,285
🖥 SSH cheat sheet: port forwarding, SOCKS proxy and hidden console





A modest utility hides a powerful routing layer.





Local (-L) and remote (-R) pass bypass the limitations of loop interfaces. The dynamic port (-D) turns the session into a SOCKS proxy, and redirection (-A) through jump servers (-J) eliminates copying keys to intermediate nodes.





- The hidden console (~?) helps to modify the parameters on the fly, and the conditional logic of Match in ~/.ssh/config helps to automate the branching of routes.





 
2,871Threads
79,724Messages
6,636Members
samk14O8Latest member
Top Bottom