A tool helping to run CLI commands from files on multiple servers
Windwos: Use the setup.exe
Linux: For now, you must compile from source, please see HOW_TO_CONTRIBUTE.md
FlushSSH {hosts_file_path} {cmd_file_path}
hosts_file_path: contains all of the hosts you want to connect, please use the following format.
+---------------+----------+----------+
|hostsname (IP) | username | password |
+---------------+----------+----------+
cmd_file_path: Contains all of the commands you want to execute on remote host(s). The format is quite simple with one command per line. e.g.
cd ~
mkdir myfolder
For now, some limitations:
- all of the hosts share the only one command file.
- Only support authentication with password.
- Connect and execute one by one.
- Store all of the echo in files, one host one file, named after hosts' hostname(IP).
- Only support port 22.
- Only on Windows, only Windows 10 is tested.
Will be better in future versions.
- Add Travis-CI & Appveyor test
- Add SIGINT handling
- Add installer for Windows Vista+