[Flask] Persistent SSH Connection in Flask App

C.PRAMOD NAIR pramod_nair1984 at yahoo.com
Thu Dec 31 09:49:58 EST 2015


Hello All,
I am trying to create a Flask APP to run command on remote server, I am able to connect to remote using pexpect.pxssh. Code snippet is in below link, the issue here is that the connect_ssh is getting called for each request. I want to know if it's possible to create persistent ssh connection.
http://stackoverflow.com/questions/34509746/ssh-persistent-connection-using-pxssh-in-flask
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/flask/attachments/20151231/37539c7a/attachment.html>


More information about the Flask mailing list