Bug 1684 - Support multiple AuthorizedKeysFile entries
Summary: Support multiple AuthorizedKeysFile entries
Status: CLOSED DUPLICATE of bug 172
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sshd (show other bugs)
Version: 5.1p1
Hardware: Other Linux
: P2 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-10 06:09 AEDT by waldi
Modified: 2016-08-02 10:42 AEST (History)
2 users (show)

See Also:


Attachments
Patch (9.06 KB, application/octet-stream)
2009-12-10 06:10 AEDT, waldi
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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