PowerShell / PowerShell/Win32-OpenSSH

Allow following symlinks/junctions or chroot into multiple directories/drives

Open
#2,388 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Enhancement
Dominant language
No language data
Stars
8.3k
Forks
819
PR merge metrics
No merged PRs in 30d

Description

Summary of the new feature / enhancement

Hello OpenSSH team,

First of all, thank you very much for your excellent work on this essential project!

I would like to kindly suggest a feature regarding the chroot functionality. Would it be possible to add an option to allow following symbolic links, junctions, or mount points that point outside of the chroot? Alternatively, supporting chrooting into multiple directories simultaneously could also address this use case.

This would help in scenarios where accessing shared resources outside the chroot is necessary while maintaining system security and isolation.

Thank you in advance for your consideration, and keep up the great work!

Best regards,

Proposed technical implementation details (optional)

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by locating the Win32-OpenSSH chroot implementation and its handling of symbolic links, junctions, and mount points; then determine which proposed behavior is viable without weakening isolation. Done would require an agreed design, implementation, and coverage for the selected behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
operating-systems, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.