thevipwan opened a new issue, #298:
URL: https://github.com/apache/mina-sshd/issues/298
### Version
master
### Bug description
dependency:
```
<dependency>
<groupId>org.apache.sshd</groupId>
<artifactId>sshd-core</artifactId>
<version>2.7.0</version>
</dependency>
```
Code:
```
SshServer sshd = SshServer.setUpDefaultServer();
sshd.setPort(3333);
sshd.setShellFactory(InteractiveProcessShellFactory.INSTANCE);
sshd.setSessionHeartbeat(SessionHeartbeatController.HeartbeatType.NONE,
Duration.ofSeconds(5));
sshd.setKeyPairProvider(new
ClassLoadableResourceKeyPairProvider(getClass().getClassLoader(), "rsa.key"));
sshd.setPasswordAuthenticator((username, password, session) ->
username.equals(password));
sshd.start();
log.info("SSHD server started");
```
ssh Client:
```
user/passwd = test
ssh [email protected] -p3333
```
### Actual behavior
read [Server Setup
Manual](https://github.com/apache/mina-sshd/blob/master/docs/server-setup.md)
last section
I with my SSHD has ServerSide heartbeat,But setSessionHeartbeat API didn't
working, ssh session didn't get any interval heartbeat
### Expected behavior
SSHD automatic send heartbeat message for each ssh session
### Relevant log output
_No response_
### Other information
_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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]