Details
-
Question
-
Status: Resolved
-
Major
-
Resolution: Workaround
-
2.2.0
-
None
-
None
Description
Hi Team,
We are facing an issue with version sshd-core-2.2.0
In the same session once we stoped ssh server we are not able to start the ssh server again.
it is throwing exception below
Caused by: java.lang.IllegalStateException: Can not start the server again Caused by: java.lang.IllegalStateException: Can not start the server again at org.apache.sshd.server.SshServer.start(SshServer.java:293)
As per your code in org.apache.sshd.server.SshServer -> start()
public void start() throws IOException { if (isClosed()) { throw new IllegalStateException("Can not start the server again"); } ------ ------ }
it is not allowing us to start sshd server again.
Note: Once we restarted our jboss server then we are able to start sshd server.
But we need to start/stop the ssh server multiple times in single session
Could you please help us on above issue.
Thanks
Siva