<div dir="ltr">Check on stackoverflow.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 31, 2015 at 3:49 PM, C.PRAMOD NAIR via Flask <span dir="ltr"><<a href="mailto:flask@python.org" target="_blank">flask@python.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif;font-size:13px"><div>Hello All,</div><div><br></div><div dir="ltr">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.<br></div><div dir="ltr"><a href="http://stackoverflow.com/questions/34509746/ssh-persistent-connection-using-pxssh-in-flask" target="_blank">http://stackoverflow.com/questions/34509746/ssh-persistent-connection-using-pxssh-in-flask</a></div><div dir="ltr"><br></div><div dir="ltr"><a href="http://stackoverflow.com/questions/34509746/ssh-persistent-connection-using-pxssh-in-flask" target="_blank">Thanks</a></div><div><br></div></div></div><br>_______________________________________________<br>
Flask mailing list<br>
<a href="mailto:Flask@python.org">Flask@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/flask" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/flask</a><br>
<br></blockquote></div><br></div>