steelbrain/node-ssh

Example of usage with PTY

Opened this issue · 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 What's the use case? Whenever I personally need pty, I just requestShell and work with it directly since it's the "real" thing

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