Timeout for an idle SSH session

Thommen

New member
Joined
Feb 22, 2021
Messages
14
In my file /etc/ssh/sshd_config I have
ClientAliveInterval 120 ClientAliveCountMax 720

When idle for 5 minutes, the SSH session is terminated.

Does DirectAdmin control it any other way?
 
In my file /etc/ssh/sshd_config I have
ClientAliveInterval 120 ClientAliveCountMax 720

When idle for 5 minutes, the SSH session is terminated.

Does DirectAdmin control it any other way?
I was having this trouble it turned out to be the pc. In power management it was putting my network and disks to “disks” to sleep. Once I set that it a better number or off it worked.

Also research the package screen for use on the server.
 
I was having this trouble it turned out to be the pc. In power management it was putting my network and disks to “disks” to sleep. Once I set that it a better number or off it worked.
I am running Arch Linux and do not have these settings. Moreover, I work on the computer all the time.

Is it not the case with DirectAdmin that you must execute the command for each change
/usr/local/directadmin/custombuild/build rewrite_confs
For example, I made changes to php.ini and I didn't see the change even after executing the command
apachectl restart
Only the above command gave me the result.
 
I think so too. I executed the ↓
/usr/local/directadmin/custombuild/build rewrite_confs
And he accepted the changes I made
 
I thought the post was about ssh not custom build. Sorry if I somehow missed that.

Arch is one of my all time favs. Long live pacman
 
Back
Top