mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhuyulei (A)" <zhuyulei....@huawei.com>
Subject mina sshd questions
Date Fri, 05 Dec 2014 08:17:08 GMT
I am using mina sshd 0.12.0, but there is little documentation...I have some questions about
how to use mina sshd...

I can set up ssh server and use ssh client connecting the ssh server, but now I want to do
not only this...

I want to know if mina sshd can do ssh reverse, just like this:
Now I have 2 Linux machines: controller-10-68-168-154 and controller-10-68-168-156
On controller-10-68-168-154:
controller-10-68-168-154:~ # ssh -NfR 9090:localhost:22 controller-10-68-168-156
controller-10-68-168-154:~ #

On controller-10-68-168-156, I can get listenning:
controller-10-68-168-156:~ # netstat -tnl | grep
tcp        0      0*               LISTEN
controller-10-68-168-156:~ #
then I can do this to connect controller-10-68-168-154:
controller-10-68-168-156:~ # ssh -p 9090 localhost
Last login: Fri Dec  5 14:42:05 2014 from
controller-10-68-168-154:~ #

Is Mina SSHD sshServer able to do this? How can I implement this with Mina SSHD? Anyone can
show me an example? Thanks.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message