I\'m using Paramiko to tail -f a file on a remote server.
tail -f
Previously, we were running this via ssh -t, but that proved flaky, and the
ssh -t
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.