Skip to content
Advertisement

Tag: autossh

autossh not working when executed in python

I am trying to create ssh reverse tunnel. When I run the below command on terminal it works greate: But when I run it in python with os.system() or using subprocess it’s not working. When I check the processes list the process is created and running and has no difference with the last method.(running directly in terminal) python code: Any

Advertisement