Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - yota

#1
Hello everyone!

I am hardening OPNsense 21.2.2; right now, I am working in SSH, but I cannot find a way to terminate an SSH session after a period of inactivity time from the user.

I have found in the sshd_config which is located in the /usr/local/etc/ssh/ directory, the following parameter:

ClientAliveInterval 30

But this is not working... using ssh with -vvv (verbosity), it looks like every 30 seconds, OPNsense sends a message to the client to check that it is alive, the SSH client answer automatically, and the connection is never closed!

I intend that after 10 mins of not using the SSH connection, OPNsense closes it automatically. Any help on this point?

Thanks a lot!