SSH Client Nodes
SSH Client
This node has a disadvantage that it cannot display the executed command result in debug. The debug will only show Ssh client error and close.
But the ssh client node will show result at the bottom.
graph LR;
A[inject] -->|"msg.payload [str] = dir"| B[ssh client];
B --> C[debug];
B -->|excute msg| B;
Interactive SSH
This cannot execute the command in ssh. The debug only shows login details from ssh.
graph LR;
A[inject] -->|"msg.payload [str] = ls"| B[interactive ssh];
B -->|login details| C[debug];
BigSSH
The bigssh node can execute ssh and other commands within ssh session, then print out login details and executed command results.
graph LR;
A[inject] --> B[BigSSH];
B -->|"msg.payload: login details+command results"| C[1.debug:stdout];
B -->|msg.control: success or not| E[2.debug:control]
B --> D[3.debug:stderr];
References