[Bug 3347] New: Option to override file permission restrictions

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sat Sep 18 08:18:49 AEST 2021


            Bug ID: 3347
           Summary: Option to override file permission restrictions
           Product: Portable OpenSSH
           Version: -current
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: macdjord at gmail.com

`ssh` enforces that certain files have restricted access permissions -
e.g. that `.ssh/config` not be writeable by anyone but the user, and
that private key files not be writable or readable - or else the file
will be ignored. This is a good security practice, and makes sense as
the default. However, there are times when it is *not* possible to
satisfy these requirements, and for such situations there needs to be
an option to override or bypass these restrictions when that happens.

For example, my own use case: I have a Linux VM which has some
directories mapped in from the Windows host machine. Since the Windows
file system doesn't support Unix-style file permissions, everything in
these mounted directories appears permanently world-writable, which
makes it *impossible* to use any SSH key or config files inside there.

You are receiving this mail because:
You are watching the assignee of the bug.

More information about the openssh-bugs mailing list