I need SSH session to be disconnected after 45 sec inactivity.
on IBM 4690 SSH server settings are:
TCPKeepAlive no
ClientAliveCountMax 3
ClientAliveInterval 15
But when I do packet capture on a client side (my PC) I see some traffic that initiated by server and then my PC acknowledges the packet. And I think because of this SSH session never times out.
When I connect to a Cisco router using same SSH client I do not see this traffic. And session times out.
Question:
I do not know if it is possible, but
How do I make SSH timeout (or client force close the connection) if user didn't press any buttons. Or window force close or somehow kill/disconnect session in 45 sec.
Thanks,