Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

10.4.0.0p1-Preview: SSH sessions no longer get the user's PATH (HKCU\Environment), only the machine PATH

オープン
#2,474 コメント 3 件 リアクション 1 件 担当者 0 名 GitHub で見る

@tgauth がすでに取り組んでいます。

2026年10月22日 から。

  • #888 @tgauth による — オープン

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
57/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
powershell

調査の方向性

Start by reproducing the SSH login on Windows 11 with OpenSSH 10.4.0.0p1-Preview, then inspect the session environment setup that combines machine and user PATH values. Compare the SSH session PATH with the values from [Environment]::GetEnvironmentVariable("Path","User") and the machine PATH; done means the session includes machine entries followed by user entries, as in the reported earlier version and interactive logon.

索引モデルが issue の本文から書いたものです。

説明

Prerequisites
  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.
Steps to reproduce
  1. Give a user one or more entries in their user PATH ([Environment]::GetEnvironmentVariable("Path","User")).
  2. Install 10.4.0.0p1-Preview and SSH in as that user.
  3. Compare $env:Path -split ';' against the user and machine PATH values.
Expected behavior
the session PATH contains the machine entries followed by the user entries, as on 10.0.0.0p2-Preview (and as in an interactive logon).
Actual behavior
only the machine entries are there. On the test machine, all 10 user entries were missing, so profile code that calls user-installed tools (here, oh-my-posh) fails at login.
Error details

Environment data
- Windows 11 26H2, build 26300.9711, x64
- OpenSSH installed from the MSI (OpenSSH-Win64-v10.4.0.0.msi)
- DefaultShell = C:\Program Files\PowerShell\7\pwsh.exe (7.6.7)
- Login with a public key, as a local administrator (administrators_authorized_keys)
Version

10.4.0.0p1-Preview

Visuals

No response

主要言語
言語のデータがありません
スター
8.3k
フォーク
822
平均マージ
3日 2時間
マージ済み PR(30日)
2

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

PowerShell/Win32-OpenSSH のほかの issue

PowerShell/Win32-OpenSSH の issue をすべて見る

似ている issue

Networking の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。