@tikoci/centrs
    Preparing search index...

    Function buildSshTerminalArgv

    • Build the ssh argv for an interactive RouterOS terminal: ssh -p <port> <key/trust options> user@host with no command (so it opens the console) and no -t (RouterOS grants no PTY; forcing one with -tt hangs, and a real TTY makes the host ssh request a PTY on its own). interactive: true drops BatchMode=yes (unlike the batch sftp/execute clients), so the host ssh may prompt on the inherited TTY for an encrypted key's passphrase or a password — centrs does not forward --password, as OpenSSH takes no password on the argv. Exported for tests.

      Parameters

      • resolved: ResolvedTerminal

      Returns string[]