[Flask] Persistent SSH Connection in Flask App

Dorian Hoxha dorian.hoxha at gmail.com
Fri Jan 1 06:15:17 EST 2016


Check on stackoverflow.

On Thu, Dec 31, 2015 at 3:49 PM, C.PRAMOD NAIR via Flask <flask at python.org>
wrote:

> 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
> <http://stackoverflow.com/questions/34509746/ssh-persistent-connection-using-pxssh-in-flask>
>
>
> _______________________________________________
> Flask mailing list
> Flask at python.org
> https://mail.python.org/mailman/listinfo/flask
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/flask/attachments/20160101/0ce34e45/attachment.html>


More information about the Flask mailing list