duncs / clusterssh

Cluster SSH - Cluster Admin Via SSH
https://github.com/duncs/clusterssh/wiki
897 stars 79 forks source link

How to keep alive connections ? #26

Closed wichtounet closed 9 years ago

wichtounet commented 9 years ago

Hello,

I'm using cssh to manage several machines on which I run long-running algorithms. Often, my connections are disconnected after some time of inaction. If something went wrong, I need to be able to check it in the current connection. Is there anyway to handle longer keep alive ?

Thanks

cqexbesd commented 9 years ago

There could be a number of things timing out your connections - but none are really the responsibility of cssh.

If it's a network device then you might like to try something like ServerAliveInterval 240 in your ssh config file.

wichtounet commented 9 years ago

That is weird because I already have ServerAliveInterval 120 in my .ssh/config. If there nothing to configure on cssh, I'll try to investigate the matter on another places.