PowerShell / PowerShell/Win32-OpenSSH

Environment variables in Windows SSH session

Open
#1,821 3 comments 1 reaction 0 assignees View on GitHub

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 install node in window2016.
I see the path was set; when I login in by remote destop and open the cmd window, I can use npm command.
However,when I login by ssh I can not use 'npm' command.How can I do that

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

Compare the environment available in the Remote Desktop command prompt with the SSH command prompt described in the issue. Start by tracing how Win32-OpenSSH creates the Windows SSH session and handles environment variables; done when the SSH session can resolve the installed npm command consistently with the Remote Desktop session.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs
Domain
networking, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.