Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision

Target

Select target project
  • iml-open-source/multi_ssh
1 result
Select Git revision
Show changes
Commits on Source (2)
......@@ -4,7 +4,6 @@ Send a command via ssh to one or multiple servers
This is a shellscript written in Bash to execute a single command on one or many target hosts via ssh - optional via jumphost.
Free software and Open Source from University of Bern :: IML - Institute for Medical Education
📄 Source: <https://git-repo.iml.unibe.ch/iml-open-source/multi_ssh/> \
......
......@@ -19,9 +19,15 @@ You get these files in the multi_ssh directory:
├── color.class.sh needed file with functions for coloring
├── config
│ ├── commands.txt.dist
│ └── default
│ │
│ ├── default
│ │ ├── commands.txt.dist
│ │ └── serverlist.json.dist
│ :
| └── <profile-dir-N>
│ ├── commands.txt.dist
│ └── serverlist.json.dist
├── docs
│ ...
├── logs
......@@ -41,7 +47,7 @@ The script stops because a list of servers is missed.
_______________________________________________________________________________
MULTI REMOTE EXECUTION WITH SSH ______
________________________________________________________________________/ v0.17
________________________________________________________________________/ v0.18
INIT: Creating user config...
saved:
......
......@@ -9,7 +9,17 @@ To see the parameters start `multi_ssh.sh -h`
_______________________________________________________________________________
MULTI REMOTE EXECUTION WITH SSH ______
________________________________________________________________________/ v0.17
________________________________________________________________________/ v0.18
A remote execution tool to run a command on multiple servers.
Its main usage is in interactive mode and command line parameters.
Source: <https://git-repo.iml.unibe.ch/iml-open-source/multi_ssh/>
License: GNU GPL 3.0
Docs: <https://os-docs.iml.unibe.ch/multi_ssh/>
2023-2024 Institute for Medical Education; University of Bern
SYNTAX:
multi_ssh.sh [OPTIONS] [SERVERLIST]
......
......@@ -3,6 +3,10 @@
#
# MULTI REMOTE EXECUTION
#
# Source: <https://git-repo.iml.unibe.ch/iml-open-source/multi_ssh/>
# License: GNU GPL 3.0 \
# Docs: <https://os-docs.iml.unibe.ch/multi_ssh/>
#
# ----------------------------------------------------------------------
# 2023-03-13 <axel.hahn@unibe.ch> WIP
# 2023-03-24 0.3 <axel.hahn@unibe.ch> show last execution
......@@ -19,10 +23,10 @@
# 2023-10-18 0.14 <axel.hahn@unibe.ch> automatically init of userconfig; check terminal
# 2023-10-19 0.15 <axel.hahn@unibe.ch> Fix: Show running terminal in server list
# 2024-05-15 0.16 <axel.hahn@unibe.ch> add profiles; rename internal variables
# 2024-05-24 0.17 <axel.hahn@unibe.ch> update headlines; fix param -t
======================================================================
# 2024-06-19 0.18 <axel.hahn@unibe.ch> fix syntax error from missing comment line; update help
# ======================================================================
_version=0.17
_version=0.18
_self=$( basename $0 )
cd "$( dirname $0 )"
......@@ -55,6 +59,17 @@ COLOR_PRESET_error=("red")
. "${MRE_CONFIGFILE}" 2>/dev/null
USAGE="
A remote execution tool to run a command on multiple servers.
Its main usage is in interactive mode and command line parameters.
Source: <https://git-repo.iml.unibe.ch/iml-open-source/multi_ssh/>
License: GNU GPL 3.0
Docs: <https://os-docs.iml.unibe.ch/multi_ssh/>
2023-2024 Institute for Medical Education; University of Bern
SYNTAX:
$_self [OPTIONS] [SERVERLIST]
......