Usually, you will get this kind of error
client_loop: send disconnect: Broken pipe if you keep your ssh connection open more than the timeout limit. Let’s see how can we potentially fix it.
Step 1. Update your ssh server-side settings.
sudo nano /etc/ssh/sshd_config
Step 2. Increase the
Step 3. If you need to update the client-side ssh option, run:
echo "ServerAliveInterval 100" >> ~/.ssh/config
Don’t hesitate to put a comment if you have some other useful recommendations in your hands. Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.