| Summary: | SSH ignoring "StrictModes no" | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Marko Štamcar <marko> |
| Component: | sftp-server | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | CLOSED FIXED | ||
| Severity: | normal | CC: | djm, zerbaugh |
| Priority: | P3 | ||
| Version: | 5.1p1 | ||
| Hardware: | ix86 | ||
| OS: | Linux | ||
| URL: | http://www.networksecurityarchive.org/html/Secure-Shell/2005-08/msg00058.html | ||
| Bug Depends on: | |||
| Bug Blocks: | 1626 | ||
|
Description
Marko Štamcar
2008-10-25 08:53:25 AEDT
I can't replicate this. Please send a debug trace from the server ("sshd -ddd") failing to authenticate.
Hang on, are you talking about ChrootDirectory or authorized_keys? We're talking about ChrootDirectory and the "new" internal-sftp feature in SSH. StrictModes does not apply to ChrootDirectory. "StrictModes does not apply to ChrootDirectory." Is that the intended behavior, or just the current state of things? It seems at odds with the man page, which states: "StrictModes: Specifies whether sshd(8) should check file modes and ownership of the user's files and home directory before accepting login." This is intentional, see https://bugzilla.redhat.com/show_bug.cgi?id=522141 for what happens when the checks are relaxed. I have updated the manpage to clarify this. With the release of 5.4p1, this bug is now considered closed. |