I\'m learning python. I need to tunnel creators to read information from a database and close the tunnel. I use paramiko but I have not worked with tonelem example. please g
I used sshtunnel for my projects. Example of the forwarding remote local MySQL port to the host local port:
pip install sshtunnel python -m sshtunnel -U root -P password -L :3306 -R 127.0.0.1:3306 -p 2222 localhost