PowerShell / PowerShell/Win32-OpenSSH
Windows OpenSSH SFTP chroot directory user match not working
@vthiebaut10 is already working on this.
Since Aug 8, 2022.
- Dominant language
- No language data
- Stars
- 8.3k
- Forks
- 819
- PR merge metrics
- No merged PRs in 30d
Description
Troubleshooting steps
https://github.com/PowerShell/Win32-OpenSSH/wiki/Troubleshooting-Steps
Terminal issue? please go through wiki
https://github.com/PowerShell/Win32-OpenSSH/wiki/TTY-PTY-support-in-Windows-OpenSSH
Please answer the following
Client OperatingSystem
Windows 10 21H2 Enterprise running winSCP
What is failing
Matcher User w/ Chroot flag:
Match User tyler.lindberg
#AllowTcpForwarding no
ChrootDirectory F:\SFTP-Root\SystemOps
#ForceCommand internal-sftp
Expected output
Land user's matched chroot:
Match User tyler.lindberg
#AllowTcpForwarding no
ChrootDirectory F:\SFTP-Root\SystemOps
#ForceCommand internal-sftp
Actual output
It lands the user in their home directory instead
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.