node-ssh icon indicating copy to clipboard operation
node-ssh copied to clipboard

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

Open hvaoc opened this issue 2 years ago • 0 comments

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

Sequence is like this

ssh [email protected] 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

hvaoc avatar Nov 11 '23 06:11 hvaoc