Koozali.org: home of the SME Server

SSH tunneling not working

mindea

SSH tunneling not working
« on: March 31, 2007, 04:35:30 PM »
I can SSH to my SME server with no problem, and I successfully use tunneling to the server from my Windows client using Tunnelier software.

But I'm trying to use tunneling from a Linux client using the command line and I can't get it to work.

For example, I want to access the SME Server-Manager by tunneling port 443.

#ssh -N -f -L 443:sme.myserver.com:443 myaccount@myserver.com

But when I run this, I get "Connection refused"

Any ideas?

Offline crazybob

  • *****
  • 894
  • +0/-0
    • Stalzer R&D
SSH tunneling not working
« Reply #1 on: March 31, 2007, 08:38:20 PM »
Give it a try using port 980

Bob
If you think you know whats going on, you obviously have no idea whats going on!

mindea

SOLVED
« Reply #2 on: April 03, 2007, 06:58:55 AM »
I figured it out. I was confused. The correct syntax for this example is:

#ssh -N -f -L 980:localhost:980 myaccount@myserver.com

Thanks.