From 97d84595e07f918ce099ec4f9b9aef46b9e8819a Mon Sep 17 00:00:00 2001 From: Nataliia Solomko Date: Thu, 12 Sep 2024 10:28:10 +0300 Subject: op-mode: T6694: Add op-mode command "execute ssh" execute ssh host [host] user [username] --- op-mode-definitions/execute-ssh.xml.in | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 op-mode-definitions/execute-ssh.xml.in (limited to 'op-mode-definitions/execute-ssh.xml.in') diff --git a/op-mode-definitions/execute-ssh.xml.in b/op-mode-definitions/execute-ssh.xml.in new file mode 100644 index 000000000..7fa656f5e --- /dev/null +++ b/op-mode-definitions/execute-ssh.xml.in @@ -0,0 +1,34 @@ + + + + + + + SSH to a node + + + + + Hostname or IP address + + <hostname> <x.x.x.x> <h:h:h:h:h:h:h:h> + + + /usr/bin/ssh $4 + + + + Remote server username + + <username> + + + /usr/bin/ssh $6@$4 + + + + + + + + -- cgit v1.2.3