I am trying to figure out how I could manage more easily my servers. I'd like to know if I can make my scripts available to all the servers without copying them to the servers.
They are located in my computer (client side),
bash-3.2$ ls -l my_local_script -rwxr--r-- 1 mario staff 554 Jan 9 13:35 my_local_script
I always login remotely with my terminal using SSH
bash-3.2$ ssh email@example.com firstname.lastname@example.org's password: [root@prodsrvr00 ~]#
Once I am logged into the server, I'd like to know if there is any way to execute the script like it was locally available without copying it to the server.
[root@prodsrvr00 ~]# my_local_script
Since it's a NAT network, I cannot SSH back to my computer (the client).