Skip to content

RunSshCommandResult

Defined in: src/protocols/ssh/runSshCommand.ts:55

Result of runSshCommand. The full captured stdout is provided as both a Buffer (for binary output) and as a UTF-8 decoded string.

Note: stderr (CHANNEL_EXTENDED_DATA) and exit-status are not currently surfaced - drop down to SshConnectionManager/SshSessionChannel directly if you need them.

PropertyTypeDescriptionDefined in
bytesReceivednumberBytes received before the channel closed.src/protocols/ssh/runSshCommand.ts:61
stdoutBufferCaptured stdout as raw bytes.src/protocols/ssh/runSshCommand.ts:57
stdoutTextstringCaptured stdout decoded as UTF-8.src/protocols/ssh/runSshCommand.ts:59