When the ssh connection is idle I get client_loop: send disconnect: Boken pipe
what can I do?
Asked
Active
Viewed 624 times
1

Yahav Cohen
- 21
- 3
1 Answers
1
Create/edit the file ~/.ssh/config in your local computer. In the file paste the following and save.
Host *
UseKeychain yes
AddKeysToAgent yes
ForwardAgent yes
ServerAliveInterval 60
ServerAliveCountMax 2
This will send keep-alive to the connected server and will not disconnect due to inactivity.

Yahav Cohen
- 21
- 3