Close session user

General support questions
Post Reply
Posts: 4
Joined: 2018/07/24 18:20:27

Close session user

Post by edu4001 » 2018/08/13 16:55:45

I have a Centos 7 server with Xinetd + VNC sesions... All users connect to my server and several of them don't close this session..Only block screen and go home... Is the any ideas to control wich users don't work in one moment to close this session automatically.


Posts: 75
Joined: 2016/04/26 16:06:06

Re: Close session user

Post by sferreira » 2018/08/17 11:57:06

I think you can work with the ClientAliveInterval and ClientAliveCountMax config options on /etc/ssh/sshd_config file.

Check if this helps : ... to-logout/

For a more "raw" but efficient and straight forward method, you can always edit the .bashrc file on each user, where you can add the tmout option.

Check this: ... ime-linux/

Best of luck.

Post Reply