Type Alias: Protocol
ts
type Protocol = "auto" | "sftp" | "scp";Which wire protocol to use for transfers.
sftp: SFTP subsystem only. Fails withERR_SFTP_UNAVAILABLEwhen the server has none.scp: the classic SCP protocol over an exec channel (scp -t/scp -f).auto(default): SFTP when available, otherwise SCP.