The SSH Command Executor node only supports opening an interactive login shell for command execution. Unfortunately, this doesn’t allow for remote single-command execution via service accounts that do not allow interactive logins. Using Python paramiko, we use the exec_command() method for non-interactive single-shot commands. The equivalent in Java would be something like MINA’s session.createExecChannel(). The node acts like paramiko’s invoke_shell() or MINA’s session.createShellChannel().
Can this node be enhanced with an advanced setting toggle that allows an interactive or non-interactive session to be used?