Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: mindea on March 31, 2007, 04:35:30 PM

Title: SSH tunneling not working
Post by: mindea 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?
Title: SSH tunneling not working
Post by: crazybob on March 31, 2007, 08:38:20 PM
Give it a try using port 980

Bob
Title: SOLVED
Post by: mindea 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.