raajeive opened a new issue, #725: URL: https://github.com/apache/mina-sshd/issues/725
### Description Introduce a maxCommandExecutionTimeout parameter to the session.executeRemoteCommand method in Apache MINA SSHD. This is essential to prevent command executions from hanging indefinitely due to unresponsive commands or misbehaving remote servers. ### Motivation In our environment, we need to SSH into a large number of servers and execute commands. Occasionally, some servers are in a bad state, causing the command execution to hang indefinitely. This not only blocks the current session but also delays subsequent SSH operations to other servers. To work around this, we currently have to create a custom execution channel and manually manage timeouts. Providing native support for a maxCommandExecutionTimeout within executeRemoteCommand would greatly simplify this process and improve robustness when dealing with unreliable targets. ### Alternatives considered _No response_ ### Additional context _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org