How to implement a connection via ssh using a script?

there are 4 servers A B C D
Every time to realize the connection chore
how to implement a script that we could score one team and was connecting to 4 servers
appropriately created serv.txt and from there take the address and connect by typing a simple command as an example the "run"
June 26th 19 at 14:09
0 answer

Find more questions by tags SSH