Emulating SSH's SOCKS Proxy Tunnel in Python

2019-04-12 20:02发布

I used to create a SOCKS connection between a windows client and linux server using SSH server and putty. However, the firewall between the client and server is now able to identify SSH packets and drop them.

I was wondering if I can emulate such behavior of SSH tunnels using python? Any recommendations on libraries or readings?

Thanks in advance.

2条回答
兄弟一词,经得起流年.
2楼-- · 2019-04-12 20:38

You can consider using paramiko for your SSH. Here is a nice link ssh-programming-with-paramiko

You can also try this ssh module which uses paramiko.

查看更多
登录 后发表回答