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

Example of usage with PTY

Open jonnitto opened this issue 3 years ago • 2 comments

Do you have an example how to use pty? I've tried it with ssh.execCommand(command, { execOptions: { pty: true } }) but I didn't get it running…

jonnitto avatar Oct 19 '21 15:10 jonnitto

@jonnitto What's the use case? Whenever I personally need pty, I just requestShell and work with it directly since it's the "real" thing

steelbrain avatar Nov 02 '21 17:11 steelbrain

I want to edit a file on a server with an editor like vim or nano.

jonnitto avatar Feb 11 '22 09:02 jonnitto