steelbrain / steelbrain/node-ssh

Question: How to interact with sub-shell created from the main shell

Open
#472 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1k
Forks
94
PR merge metrics
No merged PRs in 30d

Description

I am trying to make the ssh connection to enable a nix-shell and run few commands inside.

Sequence is like this

ssh user@192.168.1.10
ENTER password
cd /main
nix-shell node.nix <- It works up to this point, now here it enters sub shell session and I am not able to interact with this sub shell.
nix-shell > node -v <- this is not entered in the nix-shell but runs on the parent shell and ends in error

Contributor guide

No contributing guide indexed for this repository

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 source file or test is named. Start by reproducing the SSH sequence in the issue and inspect the node-ssh shell and command-execution entry points. Done should be a clear supported interaction pattern or documented limitation for running commands inside nix-shell.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, shell, typescript
Domain
cli, networking
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.