SSH from Windows to Linux w/port forwarding.
From: yddraig (yddraig_at_gmail.com)
Date: 09/22/05
- Next message: Andrew Schulman: "Re: SSH from Windows to Linux w/port forwarding."
- Previous message: Richard E. Silverman: "Re: ssh configuration"
- Next in thread: Andrew Schulman: "Re: SSH from Windows to Linux w/port forwarding."
- Reply: Andrew Schulman: "Re: SSH from Windows to Linux w/port forwarding."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 22 Sep 2005 10:10:58 -0700
I have a Linux Server (Debian Sarge) behind a firewall that I need to
tunnel into and forward ports from. I can orward all the ports I need
from my laptop (Windows XP SP2) if I use either putty or Tunnelier from
bitvise. I've been attempting to tunnel from OpenSSH on Cygwin but
without much success. I can forward the RemoteDesktop port but not the
others. Here is the command I use to start ssh and create the tunnel
from xterm on Cygwin:
$ ssh -F ~/.ssh/home_ssh_config myserver.dyndns.org -N -f -v
Below are the contents of the above mentioned ssh config file:
LogLevel DEBUG3
Host myserver.dyndns.org
HostName myserver.dyndns.org
GatewayPorts no
TCPKeepAlive yes
Compression no
# This one works
LocalForward 3390 myserver.dyndns.org:3389 #MS Windows Remote
Desktop
# These don't. Why?
LocalForward 19150 myserver.dyndns.org:19150 #Gkrellm
LocalForward 9000 myserver.dyndns.org:9000 #Slimserver Web
Interface
LocalForward 3483 myserver.dyndns.org:3483 #Slimserver SB
Interface
LocalForward 80 myserver.dyndns.org:80 #Local Apache Server
(Please note that my server is not actually named myserver.dyndns.org)
The debug output shows that ssh is listening and forwarding ports but
the clients for the respective services just time-out.
As I can succesfully forward ports with Putty and Tunnelier I'm
assuming that there is a problem with Cygwin.
Thanks in advance,
R. Owen.
- Next message: Andrew Schulman: "Re: SSH from Windows to Linux w/port forwarding."
- Previous message: Richard E. Silverman: "Re: ssh configuration"
- Next in thread: Andrew Schulman: "Re: SSH from Windows to Linux w/port forwarding."
- Reply: Andrew Schulman: "Re: SSH from Windows to Linux w/port forwarding."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|