You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set to true to allocate a pseudo-tty with defaults, or an object containing specific pseudo-tty settings (see 'Pseudo-TTY settings'). Setting up a pseudo-tty can be useful when working with remote processes that expect input from an actual terminal (e.g. sudo's password prompt).
Apparently there are no ways (or examples at least) to perform what I'm searching for, but I think a use case like this wouldn't be odd to happen, so... is it possible to make achieve the above steps with this library ?, can you @israelroldan provide more information about a possible pty object configuration, and the advantages/limitations about that ?
Regards.
The text was updated successfully, but these errors were encountered:
I'm running into a problem now with trying to remotely manage a node "forever" task that is complaining about not being able to request a pseudo-terminal. The general workflow is to stop the NodeJS service running under forever, then sftp the new service code up, then start forever again. I may find a way around but running into the pty issue is frustrating.
Yes in did, and sadly @israelroldan haven't provide much information about this either, I think you won't be able to achieve that using this library, but please have a look at mscdex/ssh2#661 , hope it helps.
I have been struggling for a few days and I can't find a proper way to perform what I'm trying to do.
this is the sequence I'm trying to perform.
I have this configuration
pty
boolean/object
Set to true to allocate a pseudo-tty with defaults, or an object containing specific pseudo-tty settings (see 'Pseudo-TTY settings'). Setting up a pseudo-tty can be useful when working with remote processes that expect input from an actual terminal (e.g. sudo's password prompt).
Apparently there are no ways (or examples at least) to perform what I'm searching for, but I think a use case like this wouldn't be odd to happen, so... is it possible to make achieve the above steps with this library ?, can you @israelroldan provide more information about a possible pty object configuration, and the advantages/limitations about that ?
Regards.
The text was updated successfully, but these errors were encountered: