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.
Build the
sshargv for an interactive RouterOS terminal:ssh -p <port> <key/trust options> user@hostwith no command (so it opens the console) and no-t(RouterOS grants no PTY; forcing one with-tthangs, and a real TTY makes the hostsshrequest a PTY on its own).interactive: truedropsBatchMode=yes(unlike the batch sftp/execute clients), so the hostsshmay 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.