ssh portforwarding, running test client/server over tunnel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.

Trying to setup a quick test to create a ssh tunnel between A and B,
and running a test nc server over the ssh connection on port 7100..

As far as I can tell, it should be a matter of setting up the port
forwarding between A and B and then running the test server/client on
the A and B machines..

now, the tricky part, the target "B" machine is being run on a VM, so
the port isn't 22..

I used the following to setup the port forwarding:

ssh -L  7100:74.142.196.218:7100  user@74.142.196.218 -p 50122
so being on machine A, the local machine, I setup the ssh tunnel into
machine B, where B is the VM, running ssh over port 50122

this part appears to work.

However, when I then run a test nc server on both machines using port
7100, I get the following:

machine B:
nc -l 7100


machine A
nc localhost 7100

which causes the machine B to display a crash!!!!
>>>channel 3: open failed: connect failed: Connection refused <<<



any ideas/thoughts???

I'm ultimately looking to run a gearman server running on port X and
being able to create a ssh tunnel into the server to access the port.

thanks
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux