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.

barry
  • 31
  • 7

1 Answers1

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