Paramiko and exec_command - killing remote process?

前端 未结 8 1653
情书的邮戳
情书的邮戳 2020-12-09 05:09

I\'m using Paramiko to tail -f a file on a remote server.

Previously, we were running this via ssh -t, but that proved flaky, and the

8条回答
  •  情书的邮戳
    2020-12-09 05:33

    Had the same problem with ssh -t. There is a library called closer - it runs a remote process via ssh and closes automatically for you. Check it out.

提交回复
热议问题