GuysRGithub commited on
Commit
f399a12
1 Parent(s): 6f60e87
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -103,5 +103,5 @@ def send_message(recipient_id, text):
103
 
104
  return response.json()
105
 
106
- subprocess.Popen(["ssh","-o","StrictHostKeyChecking=no", "-i", "id_rsa", "-R", "guysmedchatt:80:localhost:7860", "serveo.net"])
107
  # subprocess.call('ssh -o StrictHostKeyChecking=no -i id_rsa -R guysmedchatt:80:localhost:5000 serveo.net', shell=True)
 
103
 
104
  return response.json()
105
 
106
+ subprocess.Popen(["autossh", "-M", "0","-o","StrictHostKeyChecking=no", "-i", "id_rsa", "-R", "guysmedchatt:80:localhost:7860", "serveo.net"])
107
  # subprocess.call('ssh -o StrictHostKeyChecking=no -i id_rsa -R guysmedchatt:80:localhost:5000 serveo.net', shell=True)