ssh disconnect
Nils Kassube
kassube at gmx.net
Mon Jun 8 04:11:55 UTC 2020
rikona wrote:
> I've been browsing using an ssh connection to a proxy for quite a
> while, but lately it seems to be disconnecting fairly frequently. I
> don't have a config file in my .ssh dir, and the etc/ssh/ssh_config
> file does not have a serveraliveinterval 60 entry. If I create a
> config file in .ssh, with that entry, will that override all the
> entries in the etc file so that I have to also place the active etc
> entries in my local directory? And, if I do that, should that take
> care of the disconnect issue?
I'm not sure if the system wide config file would be ignored, but there
is another way - from "man ssh":
| -o option
| Can be used to give options in the format used in the configuration
| file. This is useful for specifying options for which there is no
| separate command-line flag. For full details of the options listed
| below, and their possible values, see ssh_config(5).
So I would try the command
ssh -o ServerAliveInterval=60 user at host ...
Nils
More information about the ubuntu-users
mailing list