So OVH has it's pros and cons. Ok... well... lots of cons, but the main pro is that they're cheap for dedicated hardware.
So anyway, I have this problem with SSH dying ALL THE TIME if you leave the prompt idle, and it's super annoying. Thankfully, this is easy to fix with your client alone. Here are the settings for each of the work environments I use:
On windows, you probably use putty. If you don't, well, I don't judge. Maybe you judge me, I use putty.
Anyway, all you need to do is go to the "Connection" category, and set the keepalive interval to something like 30 seconds. If you use profiles, just save the profile too.
On linux, just go to your
ssh_config file. Not to be confused with
sshd_config, which is for the ssh server, this config file is for the openssh client that is pretty much included with every distro.
Generally, this is located in
/etc/ssh/ssh_config on every distro I use, but if not, look for it.
Just add to the config:
Or whatever interval you want, again, this is in seconds.
Ok thanks have a good day! o/