📎 AI Summary:
The forum discussion centers on executing a local script remotely via SSH. The original poster asks for guidance on running a script on a remote system with SSH access. Respondents provide simple command examples, emphasizing the use of SSH with 'bash -s' and redirecting the script content, indicating that the process is straightforward. Overall, the sentiment is positive, with users offering clear solutions to execute local scripts on remote servers.

Gabriel Turqos

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

Neemobeer

Windows Forum Team
Staff member
Joined
Jul 4, 2015
Messages
8,995
It's pretty simple.

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