Python 3 and SSH Tunnel

Skip Montanaro skip at pobox.com
Thu Aug 8 16:03:47 EDT 2013


On Thu, Aug 8, 2013 at 2:30 PM, D. Xenakis <gouzounakis at hotmail.com> wrote:
> HOWTO anyone?
>
> What im trying to succeed here is create one SSH tunnel, so that i can connect from a python script running on my pc, to a remote MySQL database running on my Host and id like to stick with Python 3.3 .

http://lmgtfy.com/?q=python3+ssh+tunnel

First hit:

http://zeromq.github.io/pyzmq/ssh.html

which says, in part: "pexpect has no Python3 support at this time, so
Python 3 users should get Thomas Kluyver’s pexpect-u fork."

Also, search PyPI for "tunnel".  There might well be something useful there.

Skip



More information about the Python-list mailing list