mila-iqia / milatools

Tools to connect to and interact with the Mila cluster
MIT License
63 stars 12 forks source link

Forwarding fails silently with ssh ControlMaster #29

Open cooijmanstim opened 1 year ago

cooijmanstim commented 1 year ago

In my ssh config I have ControlMaster auto. This causes the ssh -L command in _forward to return immediately, which _forward interprets as the remote server having terminated. As a result, any mila serve command sets up the connections and then immediately breaks them down.

Setting -o ControlMaster=no in the ssh -L command fixes the issue for me.