Run Local Script On Remote System via SSH

Gabriel Turqos

Active Member
Joined
Mar 11, 2019
Messages
17
I have a script in my system. I want to run this script on the remote system which has SSH connection.
 

It's pretty simple.

ssh user@servernameorip 'bash -s' < your-local-script.sh
 

Back
Top