Bug 2490 - allow to set AuthorizedKeysFile none
Summary: allow to set AuthorizedKeysFile none
Status: CLOSED WORKSFORME
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sshd (show other bugs)
Version: -current
Hardware: All All
: P5 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-03 15:57 AEDT by Christoph Anton Mitterer
Modified: 2016-08-02 10:42 AEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Anton Mitterer 2015-11-03 15:57:02 AEDT
Hi.

Analogous to AuthorizedPrincipalsFile it would be nice if one could set AuthorizedKeysFile to none so that no file is used.

I guess one can, as a workaround set /dev/null, but that will probably lead to have it always opened and tried.

Cheers,
Chris.
Comment 1 Damien Miller 2015-11-13 13:19:15 AEDT
It's already supported. From sshd_config(5) AuthorizedKeysFile:

> Multiple files may be listed, separated by whitespace. Alternately
> this option may be set to “none” to skip checking for user keys in 
> files. The default is “.ssh/authorized_keys .ssh/authorized_keys2”.
Comment 2 Damien Miller 2016-08-02 10:42:34 AEST
Close all resolved bugs after 7.3p1 release