Skip to content

skindud/linux_cmdexec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Same time commands execution on multiple servers via ssh

Contributors Forks Stargazers Issues MIT License

GitHub Super-Linter

Description

  • command file starts working at the same time on all handled servers in @servers:shared;
  • any command file language on remote servers (bash, perl, python);
  • you can test you exec file on one server first and then start it on all servers;
  • it is useful for 5+ servers or long exec file, but you can use the following script for simple case: for i in server1 server2; do echo "### $i ### "; ssh $i "; "; done

TO DO list

  • do a separate file for servers list

Installation

  • eval ssh-agent or use your password for each server
  • put your command in mrssh_sd6fd7NC.sh.
  • put your servers in @servers array in mrssh.pl.
  • start mrssh.pl.

About

Еhe execution of commands on multiple servers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published