Re: Using DynDNS names in authorized_keys
From: Darren Tucker (dtucker_at_dodgy.net.au)
Date: 11/26/03
- Next message: Darren Tucker: "Re: problem after patching openssh 3.7.1p2"
- Previous message: Vahid: "problem after patching openssh 3.7.1p2"
- In reply to: Gregor Hoffleit: "Using DynDNS names in authorized_keys"
- Next in thread: Gregor Hoffleit: "Re: Using DynDNS names in authorized_keys"
- Reply: Gregor Hoffleit: "Re: Using DynDNS names in authorized_keys"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 26 Nov 2003 04:32:37 GMT
In article <pan.2003.11.25.13.18.51.531087@hoffleit.de>,
Gregor Hoffleit <gregor@hoffleit.de> wrote:
>Appearently checks in authorized_keys involving dynamic DNS names fail:
>
> from="niksula.dyndns.org" 1024 35 23...2334 ylo@niksula
>
>As far as I can see, sshd doesn't check if "niksula.dyndns.org" maps to
>the IP address of the connection. Instead it does a reverse name
>resolution of the IP address of the connection, and since that points to
>a name in the ISP's zone, the from test fails.
>
>This behavior sounds reasonably secure.
>
>Anyway, is there some other way to add an additional layer of security
>using dynamic DNS addresses?
You probably want CheckHostIP=no. I'm not 100% sure it'll do what you
want but there's a good chance it will.
$ man ssh_config
[snip]
CheckHostIP
If this flag is set to ``yes'', ssh will additionally check the
host IP address in the known_hosts file. This allows ssh to
detect if a host key changed due to DNS spoofing. If the option
is set to ``no'', the check will not be executed. The default is
``yes''.
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
- Next message: Darren Tucker: "Re: problem after patching openssh 3.7.1p2"
- Previous message: Vahid: "problem after patching openssh 3.7.1p2"
- In reply to: Gregor Hoffleit: "Using DynDNS names in authorized_keys"
- Next in thread: Gregor Hoffleit: "Re: Using DynDNS names in authorized_keys"
- Reply: Gregor Hoffleit: "Re: Using DynDNS names in authorized_keys"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|