Bug 2490

Summary: allow to set AuthorizedKeysFile none
Product: Portable OpenSSH Reporter: Christoph Anton Mitterer <calestyo>
Component: sshdAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED WORKSFORME    
Severity: enhancement CC: djm
Priority: P5    
Version: -current   
Hardware: All   
OS: All   

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