towsb1 commented on issue #893: URL: https://github.com/apache/mina-sshd/issues/893#issuecomment-4199969849
Yeah, the only SSH servers I have at my disposal to test against are proprietary and behind firewalls, I can't provide access to them. That said, if you change what text its waiting for to match the prompt on any other server, you should see the first command it writes echoed back (in my output you can see "`-> shell`" followed by "`<- shell`"). I just checked our old JSch code, and while I thought it redirected the error out to standard out, it looks like it doesn't. That said, I did retry this with that setRedirectErrorStream() line commented out and got the same results. I'll see if I can put together something similar for the JSch implementation, just for comparison. We were using an extremely old version (0.1.49, from 2012) before rewriting everything for mina. -- 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]
