ssh run remote command code example
Example 1: ssh run single command
ssh -t username@host 'top'
Example 2: execute command over ssh
sshpass -p [password] ssh [user]@[ip] -t "python3 example.py"
Example 3: bash how to run remote command
$ ssh USER@HOST 'COMMAND1; COMMAND2; COMMAND3'