2

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.

mohi666
  • 6,842
  • 9
  • 45
  • 51

2 Answers2

0

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.

RanRag
  • 48,359
  • 38
  • 114
  • 167
  • The firewall between client and server is dropping SSH packets. If I use paramiko, I won't be able to establish the connection. Anyway, thank you for letting me know about this cool module. I will probably use it at some point in future. – mohi666 Jan 25 '12 at 05:16
  • Incorrect. Paramiko does not support SOCKS5 dynamic port forwarding, unfortunately. If you need it, here is the ticket asking for support to be added: https://github.com/paramiko/paramiko/issues/955 – Utkonos Jan 08 '19 at 01:59