tunnel http/https over SSH
- From: "gcnovus" <james.a.rosen@xxxxxxxxx>
- Date: 24 Sep 2006 22:22:32 -0700
I've just created a development server that I want restricted to local
access only, but allow SSH tunneling, too. (Part of the reason is that
I only have one public IP, but I wanted multiple SSL domains.)
My router forwards public port 18020 to port 20 on my host machine.
I tried ssh -p 18020 -L 19000:localhost:19000 gcnovus@xxxxxxxxxxxxxxxx,
and then set up my browser to use localhost:19000 as a proxy for all
services, but I got:
channel 3: open failed: connect failed: Connection refused
I've read around on the forum, and found some posts about starting the
connection from inside the firewall, then creating another one within
that connection, but I won't be around the server to initiate those
connections. I also noticed some information about an /etc/.hosts
file, but I'm fairly new to unix and am quite confused.
If anyone has any suggestions, I'd greatly appreciate them.
Thanks,
GCN
.
- Follow-Ups:
- Re: tunnel http/https over SSH
- From: René Berber
- Re: tunnel http/https over SSH
- From: gcnovus
- Re: tunnel http/https over SSH
- Prev by Date: Re: locking down sftp directory
- Next by Date: Re: tunnel http/https over SSH
- Previous by thread: Bringing ssh connections back to life after hibernation
- Next by thread: Re: tunnel http/https over SSH
- Index(es):
Relevant Pages
|