Example of usage with PTY
Opened this issue · 2 comments
jonnitto commented
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…
steelbrain commented
@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
jonnitto commented
I want to edit a file on a server with an editor like vim or nano.