0

I have a shell script in one server. I want to run it in another server from this server. Both servers have ubuntu 18.04. I can ssh into the other machine. Do I need to upload my script on another server.

abhinav
  • 11
  • 5

1 Answers1

0
ssh user@otherserver -T < myscript.sh
Tatu Lahtela
  • 4,484
  • 29
  • 29