| Summary: | If authorized_keys exists but can not be opened, this should be logged on server | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Rafał Maj <rafal.maj.it> | ||||||
| Component: | ssh | Assignee: | Assigned to nobody <unassigned-bugs> | ||||||
| Status: | CLOSED FIXED | ||||||||
| Severity: | minor | CC: | dtucker | ||||||
| Priority: | P2 | ||||||||
| Version: | 5.1p1 | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 1626 | ||||||||
| Attachments: |
|
||||||||
|
Description
Rafał Maj
2010-01-10 15:58:08 AEDT
Created attachment 1771 [details]
More log/debug about why authorized_keys could not be used
This will provide more information.
On DebugLevel INFO it will only inform when there was I/O error when accessing existing .ssh/authorized_keys file (like, 000 permitions etc)
On DEBUG3 it will also inform if the file simply was not existing to make full log clear about this.
The keyfile not existing is not unusual (it's the default state) and is probably not worth mentioning. Adding a debug message for the rest seems reasonable as long as we don't editorialize too much. Created attachment 1772 [details]
ssh-pubkey-debug.patch
Output a debug if we can't open an existing keyfile.
Patch #1772 has been applied and will be in the 5.4 release. Thanks for the report. With the release of 5.4p1, this bug is now considered closed. |