sshnet / SSH.NET

SSH.NET is a Secure Shell (SSH) library for .NET, optimized for parallelism.
http://sshnet.github.io/SSH.NET/
MIT License
4.01k stars 934 forks source link

do what 's ssh client can Connect to ssh.net proxy server ( forward port to 127.0.0.1:1080 ) #99

Open cong88nv opened 8 years ago

cong88nv commented 8 years ago

hi dev. i try connect my app write in c# with HttpWebRequest , proxy = "127.0.0.1:1080" but it return proxy verssion 67 not support can u help me

drieseng commented 8 years ago

We only support dynamic port forwarding as SOCKS4 or SOCKS5 proxy, while you're expecting us to server as a HTTP proxy.

cong88nv commented 8 years ago

@drieseng : how to connect to your " socks5 dynamic port forward - 127.0.0.1:1080" from my c# code I want get html from website via socks Thank

reang commented 8 years ago

@cong88nv I have same issue with you. Try with set proxy "socks5://127.0.0.1:1080" and its solves in my side

drieseng commented 8 years ago

@cong88nv Still need help with this?

cong88nv commented 8 years ago

Yes i need

DucTai2308 commented 7 years ago

Anyone have example for connect ssh throught proxy using socks5 ??