I am using Apache MINA SSHD. I found that I am unable to implement the 
following function. This may be caused by the high degree of encapsulation.



My needs are as follows. When I already have a Socket, I want to perform ssh 
handshake, authentication, and communication based on this Socket.




Why do I have such a requirement, for example, I opened a tcp ScoetServer on 
port 8080, and when I forwarded port 22 to 8080 on the machine, I could not use 
this established Socket for ssh communication and interaction




I hope I can support such a demand, or I have already supported it, but I have 
not found it. In this case, please give me a demo.




Thank you very much

Reply via email to