1,Server Fix
2,Client Fix
Only need to do one of them .For server fix you’ll need root access, so it’s probably safer to do the client fix rather than the server fix.
SERVER FIX.
- On the server, login as root and edit /etc/ssh/sshd_config and add the line:
ClientAliveInterval 60
Restart sshd on the server after you save the file.
CLIENT FIX - The other wayis for your desktop machine
to send those keep alive messages. As root on your desktop (or client)
machine, edit /etc/ssh/ssh_config and add the line:
ServerAliveInterval 60
That will send send a message to the server every 60 seconds, keeping the connection open.

No comments:
Post a Comment