Re: Openssh, automatically adds IP to known_hosts when it shouldn't?

From: Markus Friedl (markus@openbsd.org)
Date: 03/27/03

  • Next message: Markus Friedl: "Re: bindaddress"
    Date: Thu, 27 Mar 2003 01:56:38 +0100
    From: Markus Friedl <markus@openbsd.org>
    To: William Stearns <wstearns@pobox.com>
    
    

    On Mon, Mar 24, 2003 at 10:31:29AM -0500, William Stearns wrote:
    > Good day, all,
    > I'm using Openssh 3.3p1 as a client. I have a server which has
    > ssh listening in port 22, and port 22222 is forwarded off to another ssh
    > server sitting behind it.
    > The correct host keys are in known_hosts with the names gateway
    > and hiddenbox.
    > With this in ~/.ssh/config :
    >
    > Host gateway
    > Hostname gateway.mydomain.com
    > Port 22
    > HostKeyAlias gateway
    > Host hiddenbox
    > Hostname gateway.mydomain.com
    > Port 22222
    > HostKeyAlias hiddenbox
    >
    > , whichever system I connect to first adds its key to
    > ~/.ssh/known_hosts under the IP address 12.13.14.15. When I try to
    > connect to the other, I get a key mismatch for the IP address and the
    > connection fails.

    just add 'CheckHostIP no'


  • Next message: Markus Friedl: "Re: bindaddress"