| Summary: | Log authorized_keys format issues and refuse to accept keys | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Dr. David Alan Gilbert <dave> |
| Component: | sshd | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | NEW --- | ||
| Severity: | normal | CC: | djm |
| Priority: | P2 | ||
| Version: | 5.8p1 | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
Dr. David Alan Gilbert
2011-10-31 05:02:55 AEDT
It's a bit of a balance between providing safety and not locking people out of their hosts - an accidental ":wq" somewhere or a truncated key line shouldn't IMO be treated as fatal. OTOH, there should be some feedback in sshd logs about failures here. I agree it's a trade off, but I think I'd like to have the choice to have a machine set up to be paranoid and make it fail with a bad line; either to fail on any problem or something like requiring every line to explicitly state anything that's allowed. I also think there may be intermediates of paranoid and permissive - e.g. maybe if you see a command="..." with no key then you could ignore the next key. It would take some thinking about though. Dave |