Run Local Script On Remote System via SSH

Gabriel9999

Member
Joined
Mar 12, 2019
Messages
38
Reaction score
4
Credits
130
I have a script in my system. I want to run this script on the remote system which has SSH connection.
 


While I'm sure there's a way to send all the commands to the remote system, I'd say the easiest way to do this is just to copy (FTP) the file to the remote system, then SSH to it and run it there. Is this not an option?
 
Use can use rsh, and rexec (usually they are disabled, but you can enable them)..
But this sounds like a perfect job for ansible.
 

Members online


Top