version 1.344, 2023/01/06 02:47:19 |
version 1.345, 2023/01/06 08:44:11 |
|
|
Specifies whether and how quickly |
Specifies whether and how quickly |
.Xr sshd 8 |
.Xr sshd 8 |
should close inactive channels. |
should close inactive channels. |
Timeouts for specified as one or more |
Timeouts are specified as one or more |
.Dq type=interval |
.Dq type=interval |
pairs separated by whitespace, where the |
pairs separated by whitespace, where the |
.Dq type |
.Dq type |
|
|
.It Cm agent-connection |
.It Cm agent-connection |
Open connections to |
Open connections to |
.Xr ssh-agent 1 . |
.Xr ssh-agent 1 . |
.It Cm direct-tcpip Cm direct-streamlocal@openssh.com |
.It Cm direct-tcpip , Cm direct-streamlocal@openssh.com |
Open TCP or Unix socket (respectively) connections that have |
Open TCP or Unix socket (respectively) connections that have |
been established from a |
been established from a |
.Xr ssh 1 |
.Xr ssh 1 |
local forwarding, i.e. |
local forwarding, i.e.\& |
.Cm LocalForward or |
.Cm LocalForward |
|
or |
.Cm DynamicForward . |
.Cm DynamicForward . |
.It Cm forwarded-tcpip Cm forwarded-streamlocal@openssh.com |
.It Cm forwarded-tcpip , Cm forwarded-streamlocal@openssh.com |
Open TCP or Unix socket (respectively) connections that have been |
Open TCP or Unix socket (respectively) connections that have been |
established to a |
established to a |
.Xr sshd 8 |
.Xr sshd 8 |
listening on behalf of a |
listening on behalf of a |
.Xr ssh 1 |
.Xr ssh 1 |
remote forwarding, i.e. |
remote forwarding, i.e.\& |
.Cm RemoteForward . |
.Cm RemoteForward . |
.It Cm session:command |
.It Cm session:command |
Command execution sessions. |
Command execution sessions. |
|
|
Open X11 forwarding sessions. |
Open X11 forwarding sessions. |
.El |
.El |
.Pp |
.Pp |
Note that, in all the above cases, terminating an inactive session does not |
Note that in all the above cases, terminating an inactive session does not |
guarantee to remove all resources associated with the session, e.g. shell |
guarantee to remove all resources associated with the session, e.g. shell |
processes or X11 clients relating to the session may continue to execute. |
processes or X11 clients relating to the session may continue to execute. |
.Pp |
.Pp |
Moreover, terminating an inactive channel or session does necessarily |
Moreover, terminating an inactive channel or session does not necessarily |
close the SSH connection, nor does it prevent a client from |
close the SSH connection, nor does it prevent a client from |
requesting another channel of the same type. |
requesting another channel of the same type. |
In particular, expiring an inactive forwarding session does not prevent |
In particular, expiring an inactive forwarding session does not prevent |