Hi,
I'm running shhd on the server (FreeBSD 9) and remote users can log on without problems.
Now I want that they get logged out after a certain period of inactivity, say 30 mins.
I tried setting ClientAliveInterval and ClientAliveCountMax in sshd_config, but to no avail.
I restarted sshd(8) (/etc/rc.d/sshd restart).
As I understand it, the above options should log the user out after 30 seconds of inactivity. But they are not logged out at all.
Thanks
--Ken
I'm running shhd on the server (FreeBSD 9) and remote users can log on without problems.
Now I want that they get logged out after a certain period of inactivity, say 30 mins.
I tried setting ClientAliveInterval and ClientAliveCountMax in sshd_config, but to no avail.
Code:
ClientAliveInterval 10
ClientAliveCountMax 3
I restarted sshd(8) (/etc/rc.d/sshd restart).
As I understand it, the above options should log the user out after 30 seconds of inactivity. But they are not logged out at all.
Thanks
--Ken