pingdotgg / pingdotgg/t3code

[Bug]: Windows SSH environment error due to missing 'sh'

Open
#2,523 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs-triage
Dominant language
TypeScript
Stars
23k
Forks
5.9k
Avg merge
11h 14m
Merged PRs (30d)
357

Description

Before submitting
  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.
Area

apps/web

Steps to reproduce
  1. Start the App
  2. Click Settings
  3. Click Environments
  4. Pick SSH
  5. Fill out the details for the environment (Windows environment with SSH enabled)
  6. Click Add Environment
Expected behavior

Adds the environment via the ssh connection.

Actual behavior

Gives the following error: "The term 'sh' is not recognized as a name of a cmdlet, function, script file, or executable program." due to the target environment not having 'sh' (Windows environment)

Impact

Blocks work completely

Version or commit

No response

Environment

No response

Logs or stack traces

Screenshots, recordings, or supporting files

08de79f2d1c3373e64501e478668ff5c3e71417a48871cec4afdd08a835e3a19.png

Workaround

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

Reproduce the failure through apps/web by opening Settings, choosing Environments, and adding a Windows SSH environment. Locate the SSH environment handling entry point and update the behavior so Windows targets do not require sh; done means the environment is added successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devops, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.