Re: Are new SSH versions buggy?

From: GertJan (mustng68@nettaxiNOSPAM.com)
Date: 05/17/02


From: GertJan <mustng68@nettaxiNOSPAM.com>
Date: Fri, 17 May 2002 18:18:54 +0200

Andreas Meile wrote:

> Dear Linux and SSH users
>
> I often need the port forwarding feature in SSH, for example to access to
> a W2K server with a command like this one:
>
> ssh -g -L 3389:w2kserv.company.loc:3389 -l user firewalls.address.com
>
> On the company's firewall, port 22 is forwarded. This worked without
> issues on my old SuSE Linux installations until version 7.1
>
> Recently, I installed SuSE Linux 8.0 (from scratch, i.e. no update) and
> there this makes a lot of trouble. :-( So, first I get
>
> bind: Address already in use

I also have seen this message sometimes, but it still worked.
 
> error messages, although port 3389 in this case was _not_ used by another
> process. I even can use an arbitrary port in the command above, this
> message still appears.
>
< snip >
>
> Does anybody know about bugs or important changes in the default
> /etc/ssh/ssh[d]_config file which could cause such problems?

If you are using the forwarded port from another machine, you have to use
GatewayPorts yes in sshd_config

-- 
    GertJan
 
    Running SuSE 7.2 with kernel 2.4.19-pre8aa2-m16, CPU Temp: +43.5°C   
     6:13pm  up  6:18,  1 user,  load average: 0.34, 0.08, 0.02



Relevant Pages

  • Re: How did they get behind my NAT?
    ... Not having experience with that router, I can't be sure what limits it ... "default forwarding IP", although it is an option on many. ... I understand that exposing a port exposes any service ... Always remember - only download files from Trusted Sites. ...
    (alt.computer.security)
  • Re: How did they get behind my NAT?
    ... Not having experience with that router, I can't be sure what limits it ... "default forwarding IP", although it is an option on many. ... that listens on that port. ... Always remember - only download files from Trusted Sites. ...
    (alt.computer.security)
  • Re: Openssh Port Forwarding Confusion
    ... >Now for my Port forwarding question. ... So far what I have extracted about ssh port ... You connect to a port on the SSH client. ...
    (comp.security.ssh)
  • Re: OpenSSH 3.4p1 port forwarding problem
    ... > I am attempting to setup port forwarding of port 1680 over the SSH ... The connection has been closed." ... > debug: Entering interactive session. ...
    (comp.unix.sco.misc)
  • Re: simple Network Bridge?
    ... > 1) port forwarding is telling your server which service is being delivered ... Bridging is to connect two Ethernet Segments of the same LAN. ...
    (comp.os.linux.networking)