ssh to machines behind firewall?

From: Grant Edwards (grante_at_visi.com)
Date: 04/29/04


Date: 29 Apr 2004 19:41:03 GMT

I've got multiple machines behind a NAT/firewall. I'd like to
ssh into those machines, so I map different incoming TCP/IP
port numbers to port 22 on the different hosts. That works
fine.

However, the ssh client is mad because n.n.n.n:8022 and
n.n.n.n:8023 are two different hosts. How do I get ssh to take
the port number into account in the know-hosts entries?

-- 
Grant Edwards                   grante             Yow!  KARL MALDEN'S NOSE
                                  at               just won an ACADEMY AWARD!!
                               visi.com            


Relevant Pages

  • IPFILTER/NAT problem
    ... I've got a curious networking problem with ipfilter/ipnat (or possibly ssh). ... I have three hosts at the house I would like to be able to ... pass in quick on xl0 proto tcp from any to any port = 21 flags S keep frags ...
    (freebsd-questions)
  • Re: What are these ports?
    ... Do you think i'd better leave this port open? ... you want to do administration from a limited set of hosts. ... in with ssh on your web server, ...
    (comp.security.firewalls)
  • Re: sshd / ftpd break-in attempts
    ... be port 123. ... Your firewall system sees the connection attempt, ... and opens a hole to the actual SSH server location (which could be ... percent of those hosts to your block rules, ...
    (comp.os.linux.misc)
  • Re: X forwarding
    ... port to which I have sshd forwarded (I no longer leave it at ... But, I can ssh to $OTHERMACHINE.$SCHOOL.edu, get a shell prompt, ... app at home and have it display here. ... ....through *both* hosts. ...
    (comp.os.linux.networking)
  • Re: ssh to machines behind firewall?
    ... > n.n.n.n:8023 are two different hosts. ... How do I get ssh to take ... > the port number into account in the know-hosts entries? ...
    (comp.os.linux.networking)