0

I've looked for several scenarios of SSH tunneling over here, but none of them worked for me. My schema is like this:
Laptop ------> gateway ------> remote.
Pretty common case, but the connection between gateway ----> remote is also password protected. I need my application (NX player though) to connect to remote via port 22. I can login to gateway via ssh and then login to remote (with different user/password), so it should be possible to do what I want, just not sure how. I'm using openssh in laptop/gateway.

4

1 回答 1

0

确保在网关上运行的 sshd 支持端口转发。

/etc/ssh/sshd_config

AllowTcpForwarding yes

于 2013-03-28T11:16:01.693 回答