Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
multi_ssh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IML Open Source
multi_ssh
Compare revisions
7596de9e22c9d5ad1aa34e0048fb88a2c0ad833d to dca821073628a73fa304e99df8fc36cf1d7a88a3
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
iml-open-source/multi_ssh
Select target project
No results found
dca821073628a73fa304e99df8fc36cf1d7a88a3
Select Git revision
Swap
Target
iml-open-source/multi_ssh
Select target project
iml-open-source/multi_ssh
1 result
7596de9e22c9d5ad1aa34e0048fb88a2c0ad833d
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
fix syntax error from missing comment line; update help
· b279af28
Hahn Axel (hahn)
authored
10 months ago
b279af28
update docs
· dca82107
Hahn Axel (hahn)
authored
10 months ago
dca82107
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
README.md
+0
-1
0 additions, 1 deletion
README.md
docs/20_Installation.md
+8
-2
8 additions, 2 deletions
docs/20_Installation.md
docs/40_Usage.md
+11
-1
11 additions, 1 deletion
docs/40_Usage.md
multi_ssh.sh
+18
-3
18 additions, 3 deletions
multi_ssh.sh
with
37 additions
and
7 deletions
README.md
View file @
dca82107
...
...
@@ -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/>
\
...
...
This diff is collapsed.
Click to expand it.
docs/20_Installation.md
View file @
dca82107
...
...
@@ -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.1
7
________________________________________________________________________/ v0.1
8
INIT: Creating user config...
saved:
...
...
This diff is collapsed.
Click to expand it.
docs/40_Usage.md
View file @
dca82107
...
...
@@ -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]
...
...
This diff is collapsed.
Click to expand it.
multi_ssh.sh
View file @
dca82107
...
...
@@ -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-0
5-24
0.1
7
<axel.hahn@unibe.ch>
update head
line
s
;
fix param -t
======================================================================
# 2024-0
6-19
0.1
8
<axel.hahn@unibe.ch>
fix syntax error from missing comment
line;
update help
#
======================================================================
_version
=
0.1
7
_version
=
0.1
8
_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]
...
...
This diff is collapsed.
Click to expand it.