i need to run a shell script that does the following:
ssh to a machine on our local network and run 3 shutdown scripts. (and then another script that does the same thing but runs the startup script instead)
i've already got ssh set up with public/private keys and no pass phrase...
i've been able to get it to ssh and execute 1 command, but then it executes the other 2 commands on the local computer.
ssh to a machine on our local network and run 3 shutdown scripts. (and then another script that does the same thing but runs the startup script instead)
i've already got ssh set up with public/private keys and no pass phrase...
i've been able to get it to ssh and execute 1 command, but then it executes the other 2 commands on the local computer.