On Thu, 14 Mar 2024, David wrote: > Hi, > > I am trying to understand the ChannelTimeout option and whether it > should work as I expect. > > I intended to use it to terminate inactive sessions, e.g. where no > keystrokes / output is sent or SFTP sessions with no commands or data > transfer. For testing I am using OpenSSH_9.6p1 Debian-5, OpenSSL 3.1.5 > 30 Jan 2024 both as the server and client. > > I set the following options in sshd_config: > > ChannelTimeout agent-connection=60 direct-tcpip=60 > direct-streamlocal@xxxxxxxxxxx=60 forwarded-tcpip=60 > forwarded-streamlocal@xxxxxxxxxxx=60 session=60 tun-connection=60 > x11-connection=60 > UnusedConnectionTimeout 1m try 'session:*=60' _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev