Connecting to 2 machines with the same IP



Hi all,

At home, I've got 2 machine on my LAN, connected to the Net through a
routeur, thus sharing the same IP address. I'm using NAT port forwarding,
such that the router redirects port 22 from its public interface to port 22
of machine A, and port 10022 to port 22 of B :

22 -> 22
Net ----- NATbox +--- A
+----B
10022 -> 22

I often need to connect form the Net to both machine A and B. Unfortunately,
I allways have a warning, since there are 2 machine with the same IP, that
the certificate asociated to this IP has changed.

Is there any way to have two certificates associated with the same IP in
~/.ssh/know_hosts ?

Manuel.
.



Relevant Pages

  • Re: Sharing from Mac to PC on LAN
    ... you should decide which is the 'Host' machine (could be Mac ... You also should make sure you have a copy of FileMaker on each machine, ... the platform as such is not relevant for sharing FileMaker files. ... I have opened the approriate port on ...
    (comp.databases.filemaker)
  • Re: Blocking Ports 137 to 139
    ... > I understand this should make me safe from file and printer sharing ... the internet should have no access to ports ... Port 53 is different: it's domain name lookup, aka DNS. ...
    (comp.security.firewalls)
  • Re: shared printer will not work?
    ... This seemed to have done the trick but why did this method of sharing work ... In the Type box, click Local Port, and then click Next. ... How to troubleshoot network printing problems in Windows XP ... To further set permissions click the Advanced button. ...
    (microsoft.public.windowsxp.general)
  • Re: Internet Sharing
    ... Internet sharing doesn't seem to be configurable beyond selecting a ... port and turning it on/off. ... I tried manually setting up the client mac as if it were on the ... If you can recall any links to some related articles, ...
    (comp.sys.mac.comm)
  • Re: changing SSHD port?
    ... It works when I then enable Remote Login in the Sharing ... Apple 'owns' /System, and it's almost never a good idea to make manual ... in /Library/LaunchDaemons with the revised port and a new Label. ... or disable it via launchctl. ...
    (comp.sys.mac.system)