Run local bash scripts on remote server
Run the SSH command that you normally use to log onto the machine
Inject the script into the ssh command:
ssh -i ~/.ssh/KEY USERNAME@SERVERNAME < SCRIPT.sh
Last updated
Run the SSH command that you normally use to log onto the machine
Inject the script into the ssh command:
ssh -i ~/.ssh/KEY USERNAME@SERVERNAME < SCRIPT.sh
Last updated