P
P
postgresdev2019-10-15 16:47:30
bash
postgresdev, 2019-10-15 16:47:30

When connecting via ssh, the console stops accepting commands after 5 minutes of inactivity, how to solve?

After 5 min. inactivity, the console does not work and you need to reconnect to the server

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ronald McDonald, 2019-10-15
@Zoominger

again

Oh those legs.
On the subject:
Look in the /etc/sshd_config file and look for a line like "ClientAliveInterval" there, you can do this:
What is the value there? Probably 300. Put 3600, for example, this is an hour of inactivity.

R
Radjah, 2019-10-15
@Radjah

letmegooglethat.com/?q=ssh+keepalive
https://patrickmn.com/aside/how-to-keep-alive-ssh-...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question