Skip to content

Instantly share code, notes, and snippets.

@tiantian1645
Last active March 29, 2021 11:12
Show Gist options
  • Select an option

  • Save tiantian1645/1b1dcac7e6bfc0d68b5d326caacc44ae to your computer and use it in GitHub Desktop.

Select an option

Save tiantian1645/1b1dcac7e6bfc0d68b5d326caacc44ae to your computer and use it in GitHub Desktop.
windows ssh over socks5
Host github.com
    HostName github.com
    IdentityFile ~/.ssh/id_ecdsa_github
    ProxyCommand ncat --proxy-type socks5 --proxy 127.0.0.1:1090  %h %p
@tiantian1645

Copy link
Copy Markdown
Author

socat only support socks4 does not support socks5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment