Reputation: 21
When the ssh connection is idle I get client_loop: send disconnect: Boken pipe
what can I do?
Upvotes: 1
Views: 925
Reputation: 21
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.
Upvotes: 1