Bug 1684

Summary: Support multiple AuthorizedKeysFile entries
Product: Portable OpenSSH Reporter: waldi
Component: sshdAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED DUPLICATE    
Severity: enhancement CC: djm, dkg
Priority: P2    
Version: 5.1p1   
Hardware: Other   
OS: Linux   
Attachments:
Description Flags
Patch none

Description waldi 2009-12-10 06:09:06 AEDT
Please find the patch attached. It changes the behaviour to allow multiple instances of the AuthorizedKeysFile option and should also maintain the behaviour of the AuthorizedKeysFile2 option.

It is overly tested for the ssh2 part. But the ssh1 part only builds.
Comment 1 waldi 2009-12-10 06:10:19 AEDT
Created attachment 1744 [details]
Patch
Comment 2 Daniel Kahn Gillmor 2009-12-11 02:39:13 AEDT
This looks like it might be a duplicate of bug 172
Comment 3 Damien Miller 2013-10-10 11:31:25 AEDT
This has been supported since openssh-5.9:

> * sshd_config(5)'s AuthorizedKeysFile now accepts multiple paths,
>   separated by space. The undocumented AuthorizedKeysFile2 option is
>   deprecated (though the default for AuthorizedKeysFile includes
>   .ssh/authorized_keys2)

*** This bug has been marked as a duplicate of bug 172 ***
Comment 4 Damien Miller 2016-08-02 10:42:39 AEST
Close all resolved bugs after 7.3p1 release