В Tue, 21 Apr 2015 13:13:18 -0400 Greg Freemyer <greg.freemyer@gmail.com> пишет:
All,
This thread is a split from the autossh in windows thread, but this is pure opensuse.
I'm messing with ssh reverse tunnels for the first time in a couple years.
Using a openSUSE 13.2 target laptop and a openSUSE 13.1 server
=== From the target (a laptop) I'm trying the command:
ssh -R 5590:localhost:22 user@cloud1.intelligentavatar.net
(cloud1.intelligentavatar.net is a test server of mine.)
but it is not working as I expect
2 questions:
1) On the client after invoking the above I get an interactive command prompt on the server as if I ran ssh with no args. I don't recall that happening before. What do I need to change on the ssh line on on the 13.1 server to NOT have it actually give me an interactive command line. I only want the tunnel established.
ssh -N Also your command will work only for local connections from remote host (it listens on localhost). You need to explicitly give (possibly empty) bind address to allow connection from other hosts. ssh -N -R \*:5590:localhost:22 ... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org