Re: Port Forwarding -- Checking to be sure I understand it
- From: Chuck <skilover_nospam@xxxxxxxxxxxxxx>
- Date: Mon, 13 Mar 2006 20:01:11 GMT
I'm not sure I follow exactly what you're trying to do. You say you're
providing support for friends/relatives but you want them logging in to
your system. It usually goes the other way around. They run an ssh
server and VNC service. You set up a tunnel from your client to their
server. If you want to run the tunnel over some port other than 22 (the
ssh default) you need to specify the alternate port either in the
ssh_config file, or with the -p option on the command line. The server
must be listening on the same port so that would require a similar
modification to the sshd_config file on the server. This should all be
documented in the sshd man page, or you can just read the comments in
the ssh config files.
For example, say you connect to a VNC server (port 5800 IIRC) on
relative.dyndns.org using port 443 (to get through someone's firewall).
You would first run the VNC and sshd services on the machine your
connecting to and on the client run
ssh -p 443 -L 5800:localhost:5800 userID@xxxxxxxxxxxxxxxxxxx
IIRC there's an option you need to set on RealVNC to allow connections
from localhost too. I use UltraVNC had to do that.
HTH
BTW I would recommend CopSSH instead of sshWindows. The latter hasn't
been updated for close to a year. CopSSH is updated regularly. They're
both free.
.
- Follow-Ups:
- Re: Port Forwarding -- Checking to be sure I understand it
- From: Hal Vaughan
- Re: Port Forwarding -- Checking to be sure I understand it
- References:
- Port Forwarding -- Checking to be sure I understand it
- From: Hal Vaughan
- Port Forwarding -- Checking to be sure I understand it
- Prev by Date: Port Forwarding -- Checking to be sure I understand it
- Next by Date: Re: ssh X forwarding fails with Linux VPS (Virtual Server)
- Previous by thread: Port Forwarding -- Checking to be sure I understand it
- Next by thread: Re: Port Forwarding -- Checking to be sure I understand it
- Index(es):
Relevant Pages
|