Create a SOCKS proxy with SSH

From Cramsession
Revision as of 19:54, 8 December 2025 by Mflavell (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
✍️ Verified Author: MflavellClick to view professional profile & credentials

Tech Notes > Linux > Create a SOCKS proxy with SSH

Problem

SSH access is provided to a jump box however you need HTTP / HTTPS access to the private network.


Solution

SSH can be used to create a socks proxy using the following command:

ssh -F /dev/null -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no username@ip or fqdn -Dproxy port

Provide the bowser the the socks infomrmation

Proxy: 127.0.0.1
Port: proxy port