Run Local Script On Remote System via SSH



TechnoJunky

Well-Known Member
Credits
314
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?
 

dos2unix

Well-Known Member
Credits
4,634
Use can use rsh, and rexec (usually they are disabled, but you can enable them)..
But this sounds like a perfect job for ansible.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Latest posts

Top