Answer the question
In order to leave comments, you need to log in
How to transfer ssh commands from one server to another?
Hello, how to transfer ssh commands from one server to another?
Let's say there are 2 servers: server1 and server2
How to make it so that all the commands that are typed in the terminal of server1 are "transferred" and executed on server2 and that after executing the commands on server2, server1 receives the "execution result"?
Thank you in advance.
Answer the question
In order to leave comments, you need to log in
when you need to set up a bunch of servers, use ansible or similar software
If you need to perform the same type of tasks on different servers, then I recommend mastering Ansible
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question