apache / apache/mina-sshd

Implement server-side per-channel idle timeouts as in OpenSSH 9.2

Open
#385 0 comments 0 reactions 0 assignees View on GitHub
feature request
Dominant language
Java
Stars
1.1k
Forks
400
Avg merge
5d 1h
Merged PRs (30d)
1

Description

### Description

Implement `ChannelTimeouts` as available in OpenSSH since version 9.2: compare [OpenSSH issue 3484](https://bugzilla.mindrot.org/show_bug.cgi?id=3484)

### Motivation

Currently, an Apache MINA sshd server keeps channels open as long as the client doesn't close it and the session is open. Badly behaved clients a might never close their channels.

With the `ChannelTimeouts` feature (available in OpenSSH since version 9.2), a server can mitigate this by imposing a maximum life-time for idle channels.

### Alternatives considered

_No response_

### Additional context

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

No source files, tests, or entry points are identified in the issue. Start by reading OpenSSH issue 3484 and locating the existing server channel lifecycle and configuration areas in the repository. Done means Apache MINA sshd supports configurable server-side per-channel idle timeouts comparable to OpenSSH 9.2, with coverage for the timeout behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.