[Bug 2346] sshd -T doesn't write all configuration options in valid format

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sat Jan 31 00:17:07 AEDT 2015


https://bugzilla.mindrot.org/show_bug.cgi?id=2346

Jakub Jelen <jjelen at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #2541|0                           |1
        is obsolete|                            |

--- Comment #1 from Jakub Jelen <jjelen at redhat.com> ---
Created attachment 2542
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2542&action=edit
proposed git patch

Sorry, one more thing to make it complete:
 * HostCertificate is written with wrong name: HostKey

Can be resolved adding:
@@ -2185,7 +2185,7 @@ dump_config(ServerOptions *o)
            o->authorized_keys_files);
        dump_cfg_strarray(sHostKeyFile, o->num_host_key_files,
             o->host_key_files);
-       dump_cfg_strarray(sHostKeyFile, o->num_host_cert_files,
+       dump_cfg_strarray(sHostCertificate, o->num_host_cert_files,
             o->host_cert_files);
        dump_cfg_strarray(sAllowUsers, o->num_allow_users,
o->allow_users);
        dump_cfg_strarray(sDenyUsers, o->num_deny_users,
o->deny_users);

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list