ssh user1@server1 '/scripts/backup.sh' will run the script on remote machine. You can simply scp "backup.sh" at required location, invoke ssh and exit
↧
ssh user1@server1 '/scripts/backup.sh' will run the script on remote machine. You can simply scp "backup.sh" at required location, invoke ssh and exit