DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
How to ssh to multiple servers and run commands
for server in box1 box2 box3 do ssh root@${server} uptime done
PREVIOUS
NEXT
Tagged:
#How
#ssh
#multiple
#servers
#run
#commands
ADD COMMENT
Topic
COMMENT
Name
9+7 =
Submit