Bug 2554

Summary: UseDNS documentation is misleading
Product: Portable OpenSSH Reporter: Jakub Jelen <jjelen>
Component: DocumentationAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: enhancement CC: djm
Priority: P5    
Version: -current   
Hardware: Other   
OS: Linux   
Bug Depends on:    
Bug Blocks: 2543    

Description Jakub Jelen 2016-03-17 23:15:18 AEDT
Commit

    https://github.com/openssh/openssh-portable/commit/c63c9a691dca26bb7648827f5a13668832948929

add this description

    If this option is set to ânoâ (the default) then only addresses and not host names may be used in ~/.ssh/known_hosts from and sshd_config Match Host directives.

to UseDNS option in sshd_config. I believe there should be  authorized_keys  instead of  known_hosts  so it will make sense on the server side, as also the commit message hints:

> for host matching in sshd_config and authorized_keys.

Related to bz#2405 (unlike the commit message referring to bz#2045).
Comment 1 Damien Miller 2016-03-18 04:54:31 AEDT
Fixed, thanks:

commit 0235a5fa67fcac51adb564cba69011a535f86f6b
Author: djm@openbsd.org <djm@openbsd.org>
Date:   Thu Mar 17 17:19:43 2016 +0000

    upstream commit
    
    UseDNS affects ssh hostname processing in authorized_keys,
     not known_hosts; bz#2554 reported by jjelen AT redhat.com
    
    Upstream-ID: c1c1bb895dde46095fc6d81d8653703928437591
Comment 2 Damien Miller 2016-08-02 10:42:33 AEST
Close all resolved bugs after 7.3p1 release