pandorafms/pandora_server/util/plugin/ssh_pandoraplugin.sh

8 lines
67 B
Bash
Executable File

#!/bin/bash
HOST=$2
USER=$4
COMMAND=$5
ssh $USER@$HOST $COMMAND