steelbrain / steelbrain/node-ssh
Question: How to interact with sub-shell created from the main shell
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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