PowerShell / PowerShell/Win32-OpenSSH
Can not ChrootDirectory
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 8.3k
- Forks
- 819
- PR merge metrics
- No merged PRs in 30d
Description
I have tried every way I know how. Every time I try to set ChrootDirectory on OpenSSH server Windows 10, it breaks the service. I can not start the service with ChrootDirectory enabled. All other options I need in sshd_config are working, but as soon as ChrootDirectory is uncommented in config, the service stops and cannot be restarted! Where is the workaround? I see articles about this issue all the way back from 2016, but no word of it being fixed. Microsoft Docs says it is now supported, but I am running latest version and can not get it to work
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.
Research direction
Start with the OpenSSH server on Windows 10 and the sshd_config entry for ChrootDirectory, then reproduce the service failure with that option enabled. Check the Microsoft Docs guidance cited in the issue and compare it with the observed behavior; done means identifying a supported workaround or clearly documenting why the service cannot start.
Written by the indexing model from the issue text.
Assessment
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100