https://bugzilla.mindrot.org/show_bug.cgi?id=3917

            Bug ID: 3917
           Summary: Add chroot support to sftp-server
           Product: Portable OpenSSH
           Version: -current
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: sftp-server
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 3938
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3938&action=edit
patch to add chroot support to sftp-server

I would like to add chroot support to sftp-server.

I am well aware that I could use ChrootDirectory with internal-sftp but
that doesn't suit my needs (I need to configure the sftp server in a
way that is incompatible with internal-sftp).

I'm launching my patched sftp-server from an unprivileged namespace so
running as root is not a problem for me but we could add chroot-like
`--userspec=USER:GROUP` and `--groups=G_LIST` options if needed.

I have created a very simple patch that works for me, I'm sure it's not
ready to be merged but I'll be happy to help get there :)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to