Hello Everyone,
I went into /etc/ssh/sshd_config and set the ClientAliveInterval to 30 (which I'm assuming means 30 seconds as per the man page), and I set the ClientAliveCountMax to 2. If I'm correct, this should logout an idle session after 60secs of inactivity, but it doesn't. I restarted the service after making the configurations just in case anyone asks.
One thing to note is that I'm using RSA keys for authentication which I just figured out how to setup. I never had any issues when I was using password authentication, but something about the public-key authentication seems to be causing the issue. Does anyone have any ideas or troubleshooting advice?
Thanks!!
I went into /etc/ssh/sshd_config and set the ClientAliveInterval to 30 (which I'm assuming means 30 seconds as per the man page), and I set the ClientAliveCountMax to 2. If I'm correct, this should logout an idle session after 60secs of inactivity, but it doesn't. I restarted the service after making the configurations just in case anyone asks.
One thing to note is that I'm using RSA keys for authentication which I just figured out how to setup. I never had any issues when I was using password authentication, but something about the public-key authentication seems to be causing the issue. Does anyone have any ideas or troubleshooting advice?
Thanks!!
