I assume the receiving machine and necessary routers are listening /passing the necessary ports?
Sometimes it's a simple over site.
Fred Roller
On 3/23/2016 3:10 PM, Mike Wright wrote:
usage: ssh -L [bind_address:]port:host:hostport]
Here's what I'm trying:
sudo ssh -L lo.cal.ip.adx:11110:rem.ote.ip.adx:110
I successfully use the following to tunnel VNC over SSH so I can securely connect to a remote server at a hosting facility using VNC:
ssh -f -L 25901:127.0.0.1:5901 user@remotehost sleep 10; vncviewer 127.0.0.1:25901:1
If I had to adapt it to your example, I would try this:
ssh -f -L 11110:127.0.0.1:110 user@remotehost sleep 10; <whatever command you need to use to get your email>
The "-f" makes ssh act in the background and the "sleep 10" gives the ssh tunnel 10 seconds to actually connect before it bails. The next statement should execute whatever process you need to execute but note that you want to execute it against the local host's loopback address, not the remote system's address. You actually target the remote system's IP address using the "user@remotehost" section.
Tom
--
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
-- 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