dib-lab / farm-notes

notes on the farm cluster
16 stars 9 forks source link

ssh disconnect problems #21

Open ctb opened 3 years ago

ctb commented 3 years ago

when connecting to farm, sometimes people get a lot of disconnects --

client_loop: send disconnect: Broken pipe

per https://askubuntu.com/questions/127369/how-to-prevent-write-failed-broken-pipe-on-ssh-connection, abhijna fixed it like so:

Try creating the file: ~/.ssh/config Add the contents:

Host *
  ServerAliveInterval 30
  ServerAliveCountMax 5
ctb commented 3 years ago

this was on her own laptop, not on the farm side.