ssh: remove -C and use SOCKS port (#5771)

This commit is contained in:
Phil Enzler
2021-04-15 18:47:49 -07:00
committed by GitHub
parent 5bc4c97786
commit 38c3b011dc
3 changed files with 6 additions and 6 deletions

View File

@@ -19,9 +19,9 @@
`ssh {{remote_host}} {{command -with -flags}}`
- SSH tunneling: Dynamic port forwarding (SOCKS proxy on localhost:9999):
- SSH tunneling: Dynamic port forwarding (SOCKS proxy on localhost:1080):
`ssh -D {{9999}} -C {{username}}@{{remote_host}}`
`ssh -D {{1080}} {{username}}@{{remote_host}}`
- SSH tunneling: Forward a specific port (localhost:9999 to example.org:80) along with disabling pseudo-[t]ty allocation and executio[n] of remote commands: