aiidalab / aiidalab-epfl-supercomputers

Clusters at EPFL, Switzerland
MIT License
0 stars 1 forks source link

very long timeout for connecting to some scitas clusters #2

Closed ltalirz closed 5 years ago

ltalirz commented 6 years ago

For some scitas clusters, ssh takes a very long time to figure out that it cannot connect (bellatrix, castor, deneb1, deneb2), while for others it immediately exits with "no route to host" (eltanin, fidis).

This can be remedied by passing "-o ConnectTimeout=3" to the call to ssh in the can_login function, limiting the timeout to 3s.

ltalirz commented 6 years ago

This now works via lsmosrv1

kjappelbaum commented 5 years ago

I cannot connect to lsmosrv1 and also have a timeout (deneb)/no route to host (fidis) problem. If it cannot connect without the proxy, I would make this default.