linux - How to run shell script in another server in a script? -


no online can find way run shell script on remote server script. automation, script on host machine automatically trigger script on different server. server script ssh either have password prompt or have rsa key pair set up

thanks!

just pass command argument ssh.

ssh someserver /path/to/some/script.bsh