[jira] [Commented] (SSHD-951) Query on how to restart sshd server in single jboss session

2020-01-02 Thread Lyor Goldstein (Jira)


[ 
https://issues.apache.org/jira/browse/SSHD-951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17006965#comment-17006965
 ] 

Lyor Goldstein commented on SSHD-951:
-

Correct

> Query on how to restart sshd server in single jboss session
> ---
>
> Key: SSHD-951
> URL: https://issues.apache.org/jira/browse/SSHD-951
> Project: MINA SSHD
>  Issue Type: Question
>Affects Versions: 2.2.0
>Reporter: Sivanagarajup
>Priority: Major
>
> 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
> {code:java}
> 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) 
> {code}
> As per your code in *org.apache.sshd.server.SshServer -> start()*
> {code:java}
> public void start() throws IOException {
>if (isClosed()) {
> throw new IllegalStateException("Can not start the server again");
>}
> --
> --
> }{code}
>  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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org



[jira] [Commented] (SSHD-951) Query on how to restart sshd server in single jboss session

2020-01-01 Thread Sivanagarajup (Jira)


[ 
https://issues.apache.org/jira/browse/SSHD-951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17006590#comment-17006590
 ] 

Sivanagarajup commented on SSHD-951:


Hi [~lgoldstein],

As per my understanding below standards are introduced in 2.3.0 only
 # RFC 4716 - The Secure Shell (SSH) Public Key File Format ( According to 
[SSHD-917|https://issues.apache.org/jira/browse/SSHD-917])
 # RFC 8308 - Extension Negotiation in the Secure Shell (SSH) Protocol 
(According to [SSHD-896|https://issues.apache.org/jira/browse/SSHD-896])
 # RFC 8332 - Use of RSA Keys with SHA-256 and SHA-512 in the Secure Shell 
(SSH) Protocol (According to 
[SSHD-895|https://issues.apache.org/jira/browse/SSHD-895])

Could you please confirm the above .

 

Thanks

Siva

> Query on how to restart sshd server in single jboss session
> ---
>
> Key: SSHD-951
> URL: https://issues.apache.org/jira/browse/SSHD-951
> Project: MINA SSHD
>  Issue Type: Question
>Affects Versions: 2.2.0
>Reporter: Sivanagarajup
>Priority: Major
>
> 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
> {code:java}
> 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) 
> {code}
> As per your code in *org.apache.sshd.server.SshServer -> start()*
> {code:java}
> public void start() throws IOException {
>if (isClosed()) {
> throw new IllegalStateException("Can not start the server again");
>}
> --
> --
> }{code}
>  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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org



[jira] [Commented] (SSHD-951) Query on how to restart sshd server in single jboss session

2020-01-01 Thread Sivanagarajup (Jira)


[ 
https://issues.apache.org/jira/browse/SSHD-951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17006580#comment-17006580
 ] 

Sivanagarajup commented on SSHD-951:


Thank You so much [~lgoldstein]

> Query on how to restart sshd server in single jboss session
> ---
>
> Key: SSHD-951
> URL: https://issues.apache.org/jira/browse/SSHD-951
> Project: MINA SSHD
>  Issue Type: Question
>Affects Versions: 2.2.0
>Reporter: Sivanagarajup
>Priority: Major
>
> 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
> {code:java}
> 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) 
> {code}
> As per your code in *org.apache.sshd.server.SshServer -> start()*
> {code:java}
> public void start() throws IOException {
>if (isClosed()) {
> throw new IllegalStateException("Can not start the server again");
>}
> --
> --
> }{code}
>  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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org



[jira] [Commented] (SSHD-951) Query on how to restart sshd server in single jboss session

2020-01-01 Thread Lyor Goldstein (Jira)


[ 
https://issues.apache.org/jira/browse/SSHD-951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17006454#comment-17006454
 ] 

Lyor Goldstein commented on SSHD-951:
-

The supported standards are pretty much the same - see 
https://github.com/apache/mina-sshd/blob/master/docs/changes/2.3.0.md for any 
extra supported features that were introduced only in 2.3.0

> Query on how to restart sshd server in single jboss session
> ---
>
> Key: SSHD-951
> URL: https://issues.apache.org/jira/browse/SSHD-951
> Project: MINA SSHD
>  Issue Type: Question
>Affects Versions: 2.2.0
>Reporter: Sivanagarajup
>Priority: Major
>
> 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
> {code:java}
> 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) 
> {code}
> As per your code in *org.apache.sshd.server.SshServer -> start()*
> {code:java}
> public void start() throws IOException {
>if (isClosed()) {
> throw new IllegalStateException("Can not start the server again");
>}
> --
> --
> }{code}
>  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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org



[jira] [Commented] (SSHD-951) Query on how to restart sshd server in single jboss session

2020-01-01 Thread Sivanagarajup (Jira)


[ 
https://issues.apache.org/jira/browse/SSHD-951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17006391#comment-17006391
 ] 

Sivanagarajup commented on SSHD-951:


Hi [~lgoldstein],

Where can we get list of SSH supported standards for version sshd 2.2.0

like for 2.2.3 ([https://github.com/apache/mina-sshd/blob/sshd-2.3.0/README.md])

 

Thanks

Siva

> Query on how to restart sshd server in single jboss session
> ---
>
> Key: SSHD-951
> URL: https://issues.apache.org/jira/browse/SSHD-951
> Project: MINA SSHD
>  Issue Type: Question
>Affects Versions: 2.2.0
>Reporter: Sivanagarajup
>Priority: Major
>
> 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
> {code:java}
> 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) 
> {code}
> As per your code in *org.apache.sshd.server.SshServer -> start()*
> {code:java}
> public void start() throws IOException {
>if (isClosed()) {
> throw new IllegalStateException("Can not start the server again");
>}
> --
> --
> }{code}
>  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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org



[jira] [Commented] (SSHD-951) Query on how to restart sshd server in single jboss session

2019-12-05 Thread Lyor Goldstein (Jira)


[ 
https://issues.apache.org/jira/browse/SSHD-951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16989017#comment-16989017
 ] 

Lyor Goldstein commented on SSHD-951:
-

The shell factory is used in order to allow SSH clients to open an interactive 
shell with  the server. The specific line of code you refer to simply activates 
the Linux shell (see the _man_ page what the _-i, -l_ flags mean) as a 
*process* (see {{ProcessBuilder}}) whose STDIN/STDOUT/STDERR streams are tied 
to the SSH channel and "pumped" through using specialized threads.

Note that there is a better class called {{InteractiveProcessShellFactory}} 
that automatically detects the underlying O/S - Linux or Windows - and 
activates the relevant "shell". If you don't want to allow users to open an 
interactive SSH session simply don't provide a shell factory (i.e., don't call 
the {{setShellFactory}} method.

> Query on how to restart sshd server in single jboss session
> ---
>
> Key: SSHD-951
> URL: https://issues.apache.org/jira/browse/SSHD-951
> Project: MINA SSHD
>  Issue Type: Question
>Affects Versions: 2.2.0
>Reporter: Sivanagarajup
>Priority: Major
>
> 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
> {code:java}
> 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) 
> {code}
> As per your code in *org.apache.sshd.server.SshServer -> start()*
> {code:java}
> public void start() throws IOException {
>if (isClosed()) {
> throw new IllegalStateException("Can not start the server again");
>}
> --
> --
> }{code}
>  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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org



[jira] [Commented] (SSHD-951) Query on how to restart sshd server in single jboss session

2019-12-03 Thread Sivanagarajup (Jira)


[ 
https://issues.apache.org/jira/browse/SSHD-951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16987624#comment-16987624
 ] 

Sivanagarajup commented on SSHD-951:


Hi [~lgoldstein],

Could you please let us know the use of implementing interface 
*org.apache.sshd.server.shell.ShellFactory*

and setting to sshd server like

*sshd.setShellFactory(new ProcessShellFactory(new String[] \{ "/bin/sh", "-i", 
"-l" }));*

 

Thanks

Siva

> Query on how to restart sshd server in single jboss session
> ---
>
> Key: SSHD-951
> URL: https://issues.apache.org/jira/browse/SSHD-951
> Project: MINA SSHD
>  Issue Type: Question
>Affects Versions: 2.2.0
>Reporter: Sivanagarajup
>Priority: Major
>
> 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
> {code:java}
> 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) 
> {code}
> As per your code in *org.apache.sshd.server.SshServer -> start()*
> {code:java}
> public void start() throws IOException {
>if (isClosed()) {
> throw new IllegalStateException("Can not start the server again");
>}
> --
> --
> }{code}
>  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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org



[jira] [Commented] (SSHD-951) Query on how to restart sshd server in single jboss session

2019-10-29 Thread Sivanagarajup (Jira)


[ 
https://issues.apache.org/jira/browse/SSHD-951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16961759#comment-16961759
 ] 

Sivanagarajup commented on SSHD-951:


Hi [~lgoldstein],

Thank you for quick response.

We tried by setting same old keyprovider for new sshd instance, now able to 
start ssh session after every restart.

We will post if any other issues on this way.

Regards

Siva

> Query on how to restart sshd server in single jboss session
> ---
>
> Key: SSHD-951
> URL: https://issues.apache.org/jira/browse/SSHD-951
> Project: MINA SSHD
>  Issue Type: Question
>Affects Versions: 2.2.0
>Reporter: Sivanagarajup
>Priority: Major
>
> 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
> {code:java}
> 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) 
> {code}
> As per your code in *org.apache.sshd.server.SshServer -> start()*
> {code:java}
> public void start() throws IOException {
>if (isClosed()) {
> throw new IllegalStateException("Can not start the server again");
>}
> --
> --
> }{code}
>  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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org



[jira] [Commented] (SSHD-951) Query on how to restart sshd server in single jboss session

2019-10-28 Thread Lyor Goldstein (Jira)


[ 
https://issues.apache.org/jira/browse/SSHD-951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16961305#comment-16961305
 ] 

Lyor Goldstein commented on SSHD-951:
-

The problem is with the {{setHostKeyProvider}} call - when you create the *new* 
instance you need to use +same+ {{KeyPair}}(s) as the old one -otherwise and 
"identity" change is signaled. The easiest would be to use {{ssh-keygen}} to 
create one or more {{KeyPair}}-s of different types (rsa, ecdsa, ed25519) and 
then use a {{FileKeyPairProvider}} or {{ClassLoadableResourceKeyPairProvider}} 
to point to these files when you call  {{setHostKeyProvider}}

> Query on how to restart sshd server in single jboss session
> ---
>
> Key: SSHD-951
> URL: https://issues.apache.org/jira/browse/SSHD-951
> Project: MINA SSHD
>  Issue Type: Question
>Affects Versions: 2.2.0
>Reporter: Sivanagarajup
>Priority: Major
>
> 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
> {code:java}
> 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) 
> {code}
> As per your code in *org.apache.sshd.server.SshServer -> start()*
> {code:java}
> public void start() throws IOException {
>if (isClosed()) {
> throw new IllegalStateException("Can not start the server again");
>}
> --
> --
> }{code}
>  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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org



[jira] [Commented] (SSHD-951) Query on how to restart sshd server in single jboss session

2019-10-28 Thread Sivanagarajup (Jira)


[ 
https://issues.apache.org/jira/browse/SSHD-951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16960928#comment-16960928
 ] 

Sivanagarajup commented on SSHD-951:


Hi [~lgoldstein],

As you suggested we created new sshd instance and configured it, now able to 
stop/start sshd server in single jboss session.

But after restarting sshd server not able to connect to it, getting following 
error
{code:java}
[root@svc-4-bnsiserv conf]# ssh administrator@localhost -p 8345
@@@
@WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
be:28:b9:6f:3a:9b:ec:8c:8c:4f:90:ff:ce:95:b8:68.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:1
RSA host key for [localhost]:8345 has changed and you have requested strict 
checking.
Host key verification failed.
 {code}
 

For previous versions of sshd-core jar we didn't get this type of errors while 
connecting to it after restarting sshd server.

Could you please help us on this.

*NOTE :* if we are deleting entry for *[localhost]:8345* in 
/root/.ssh/known_hosts file it is working fine but from customer perspective 
this is not recommonded way.

 

Thanks

Siva

> Query on how to restart sshd server in single jboss session
> ---
>
> Key: SSHD-951
> URL: https://issues.apache.org/jira/browse/SSHD-951
> Project: MINA SSHD
>  Issue Type: Question
>Affects Versions: 2.2.0
>Reporter: Sivanagarajup
>Priority: Major
>
> 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
> {code:java}
> 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) 
> {code}
> As per your code in *org.apache.sshd.server.SshServer -> start()*
> {code:java}
> public void start() throws IOException {
>if (isClosed()) {
> throw new IllegalStateException("Can not start the server again");
>}
> --
> --
> }{code}
>  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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org



[jira] [Commented] (SSHD-951) Query on how to restart sshd server in single jboss session

2019-10-21 Thread Sivanagarajup (Jira)


[ 
https://issues.apache.org/jira/browse/SSHD-951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16955894#comment-16955894
 ] 

Sivanagarajup commented on SSHD-951:


Hi [~lgoldstein],

Thanks for the response.

We will try with creating new instance and configuring it.

Thanks

siva

> Query on how to restart sshd server in single jboss session
> ---
>
> Key: SSHD-951
> URL: https://issues.apache.org/jira/browse/SSHD-951
> Project: MINA SSHD
>  Issue Type: Question
>Affects Versions: 2.2.0
>Reporter: Sivanagarajup
>Priority: Major
>
> 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
> {code:java}
> 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) 
> {code}
> As per your code in *org.apache.sshd.server.SshServer -> start()*
> {code:java}
> public void start() throws IOException {
>if (isClosed()) {
> throw new IllegalStateException("Can not start the server again");
>}
> --
> --
> }{code}
>  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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org



[jira] [Commented] (SSHD-951) Query on how to restart sshd server in single jboss session

2019-10-18 Thread Lyor Goldstein (Jira)


[ 
https://issues.apache.org/jira/browse/SSHD-951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16954389#comment-16954389
 ] 

Lyor Goldstein commented on SSHD-951:
-

There are many good reasons why restarting the SSH server is not allowed. These 
reasons have to do with resources allocations, state tracking, etc...

That being said, it begs the question - why do you need to stop it ? Is it 
because you don't want to allow SSH connections during some time ? In that 
case, you could register an {{IoServiceEventListener}} that throws an exception 
when it is notified that an SSH connection has been established while you don't 
want to allow that. This way the SSH server remains up and running but not 
accepting any incoming connections while you don't want it to.

Other than that all I can say is that if you +absolutely must+ stop the server 
then there is no recourse other than creating a +new instance+ of it, 
configuring it and then starting it.

> Query on how to restart sshd server in single jboss session
> ---
>
> Key: SSHD-951
> URL: https://issues.apache.org/jira/browse/SSHD-951
> Project: MINA SSHD
>  Issue Type: Question
>Affects Versions: 2.2.0
>Reporter: Sivanagarajup
>Priority: Major
>
> 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
> {code:java}
> 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) 
> {code}
> As per your code in *org.apache.sshd.server.SshServer -> start()*
> {code:java}
> public void start() throws IOException {
>if (isClosed()) {
> throw new IllegalStateException("Can not start the server again");
>}
> --
> --
> }{code}
>  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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org