multiSSH3 6.24__tar.gz → 6.26__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {multissh3-6.24 → multissh3-6.26}/PKG-INFO +6 -4
- {multissh3-6.24 → multissh3-6.26}/README.md +5 -3
- {multissh3-6.24 → multissh3-6.26}/multiSSH3.egg-info/PKG-INFO +6 -4
- {multissh3-6.24 → multissh3-6.26}/multiSSH3.egg-info/SOURCES.txt +1 -0
- {multissh3-6.24 → multissh3-6.26}/multiSSH3.py +281 -47
- {multissh3-6.24 → multissh3-6.26}/tests/test_curses_event_loop.py +14 -0
- {multissh3-6.24 → multissh3-6.26}/tests/test_expand_hostnames.py +10 -0
- {multissh3-6.24 → multissh3-6.26}/tests/test_helpers_extra.py +36 -0
- multissh3-6.26/tests/test_ipmi_lockout_wait.py +87 -0
- {multissh3-6.24 → multissh3-6.26}/tests/test_main_lifecycle.py +58 -3
- {multissh3-6.24 → multissh3-6.26}/tests/test_run_command_branches.py +126 -2
- {multissh3-6.24 → multissh3-6.26}/tests/test_run_on_hosts_modes.py +93 -0
- {multissh3-6.24 → multissh3-6.26}/tests/test_unavailable_hosts.py +42 -2
- {multissh3-6.24 → multissh3-6.26}/multiSSH3.egg-info/dependency_links.txt +0 -0
- {multissh3-6.24 → multissh3-6.26}/multiSSH3.egg-info/entry_points.txt +0 -0
- {multissh3-6.24 → multissh3-6.26}/multiSSH3.egg-info/requires.txt +0 -0
- {multissh3-6.24 → multissh3-6.26}/multiSSH3.egg-info/top_level.txt +0 -0
- {multissh3-6.24 → multissh3-6.26}/setup.cfg +0 -0
- {multissh3-6.24 → multissh3-6.26}/setup.py +0 -0
- {multissh3-6.24 → multissh3-6.26}/tests/test_cli_branches.py +0 -0
- {multissh3-6.24 → multissh3-6.26}/tests/test_cli_processing.py +0 -0
- {multissh3-6.24 → multissh3-6.26}/tests/test_color_helpers.py +0 -0
- {multissh3-6.24 → multissh3-6.26}/tests/test_compact_hostnames.py +0 -0
- {multissh3-6.24 → multissh3-6.26}/tests/test_config_cli.py +0 -0
- {multissh3-6.24 → multissh3-6.26}/tests/test_config_validate.py +0 -0
- {multissh3-6.24 → multissh3-6.26}/tests/test_curses_branches.py +0 -0
- {multissh3-6.24 → multissh3-6.26}/tests/test_curses_tui.py +0 -0
- {multissh3-6.24 → multissh3-6.26}/tests/test_harness_smoke.py +0 -0
- {multissh3-6.24 → multissh3-6.26}/tests/test_host.py +0 -0
- {multissh3-6.24 → multissh3-6.26}/tests/test_ordered_multiset.py +0 -0
- {multissh3-6.24 → multissh3-6.26}/tests/test_output_merge.py +0 -0
- {multissh3-6.24 → multissh3-6.26}/tests/test_run_command.py +0 -0
- {multissh3-6.24 → multissh3-6.26}/tests/test_run_on_hosts.py +0 -0
- {multissh3-6.24 → multissh3-6.26}/tests/test_runtime_branch_matrix.py +0 -0
- {multissh3-6.24 → multissh3-6.26}/tests/test_smoke_optional.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: multiSSH3
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.26
|
|
4
4
|
Summary: Run commands on multiple hosts via SSH
|
|
5
5
|
Home-page: https://github.com/yufei-pan/multiSSH3
|
|
6
6
|
Author: Yufei Pan
|
|
@@ -348,8 +348,9 @@ While leaving minimum 40 characters / 1 line for each host display by default. Y
|
|
|
348
348
|
> ← or → : Move cursor
|
|
349
349
|
> PgUp/Dn : Scroll history by 5
|
|
350
350
|
> Home/End: Jump cursor
|
|
351
|
-
> Esc : Clear
|
|
351
|
+
> Esc : Clear / hide view
|
|
352
352
|
> ```
|
|
353
|
+
> `Esc` clears the input line. On an empty input line it hides the live view; the commands keep running and their output is printed when they finish.
|
|
353
354
|
> You can also toggle this help in curses by pressing `?` or `F1`.
|
|
354
355
|
|
|
355
356
|
### Command String Replacement
|
|
@@ -364,8 +365,6 @@ mssh will replace some magic strings in the command string with host specific va
|
|
|
364
365
|
| `#USERNAME#` | Replaced with the username |
|
|
365
366
|
| `#ID#` | Replaced with the ID of the host obj |
|
|
366
367
|
| `#I# ` | Replaced with the index of the host |
|
|
367
|
-
| `#PASSWD#` | Replaced with the password |
|
|
368
|
-
| `#PASSWORD#` | Replaced with the password |
|
|
369
368
|
| `#UUID#` | Replaced with the UUID of the host |
|
|
370
369
|
| `#RESOLVEDNAME#`| Replaced with the resolved name |
|
|
371
370
|
| `#IP#` | Replaced with the resolved IP |
|
|
@@ -383,6 +382,7 @@ Here details the options for multiSSH3 6.02 @ 2025-11-10
|
|
|
383
382
|
|
|
384
383
|
### `-p, --password PASSWORD` | _`DEFAULT_PASSWORD`_
|
|
385
384
|
- You can specify the password for all hosts using this option. Although it is recommended to use SSH keys / store password in config file for authentication.
|
|
385
|
+
- Note: a password given on the command line is plain text. It can be seen by other local users (e.g. in `ps` and your shell history), is echoed in the `> mssh ...` line mssh prints at start, and is recorded in the history file (`-hf`, default `~/.mssh_history`) so the command can be replayed. mssh creates a new history file readable by its owner only (mode 600); an existing history file keeps its permissions. Use `-I, --no_history` to keep a command out of the history, or set `DEFAULT_PASSWORD` in a config file (also plain text, so keep that file private) to avoid typing it on the command line.
|
|
386
386
|
|
|
387
387
|
### `-k, --key, --identity [KEY]` | _`DEFAULT_IDENTITY_FILE`_
|
|
388
388
|
- You can specify the identity file or folder to use for public key authentication. If a folder is specified, it will search for a key file inside the folder.
|
|
@@ -403,6 +403,8 @@ mssh -ea="--delete" -f ./data/ allServers /tmp/data/
|
|
|
403
403
|
|
|
404
404
|
### `-11, --oneonone` | _`DEFAULT_ONE_ON_ONE`_
|
|
405
405
|
- Run commands in one-on-one mode, where each command corresponds to each host, front to back.
|
|
406
|
+
- Hosts are taken in the order they are given. A range or an environment variable expands in ascending order in its place, e.g. `b,a[1-2]` pairs the commands with `b`, `a1`, `a2`.
|
|
407
|
+
- Hosts skipped with `-X, --skip_hosts` are left out before pairing, so give one command per remaining host. An unreachable host keeps its command, which is skipped.
|
|
406
408
|
- If command list length is not equal to expanded host list length, an error will be raised.
|
|
407
409
|
|
|
408
410
|
### `-f, --file FILE` | None
|
|
@@ -320,8 +320,9 @@ While leaving minimum 40 characters / 1 line for each host display by default. Y
|
|
|
320
320
|
> ← or → : Move cursor
|
|
321
321
|
> PgUp/Dn : Scroll history by 5
|
|
322
322
|
> Home/End: Jump cursor
|
|
323
|
-
> Esc : Clear
|
|
323
|
+
> Esc : Clear / hide view
|
|
324
324
|
> ```
|
|
325
|
+
> `Esc` clears the input line. On an empty input line it hides the live view; the commands keep running and their output is printed when they finish.
|
|
325
326
|
> You can also toggle this help in curses by pressing `?` or `F1`.
|
|
326
327
|
|
|
327
328
|
### Command String Replacement
|
|
@@ -336,8 +337,6 @@ mssh will replace some magic strings in the command string with host specific va
|
|
|
336
337
|
| `#USERNAME#` | Replaced with the username |
|
|
337
338
|
| `#ID#` | Replaced with the ID of the host obj |
|
|
338
339
|
| `#I# ` | Replaced with the index of the host |
|
|
339
|
-
| `#PASSWD#` | Replaced with the password |
|
|
340
|
-
| `#PASSWORD#` | Replaced with the password |
|
|
341
340
|
| `#UUID#` | Replaced with the UUID of the host |
|
|
342
341
|
| `#RESOLVEDNAME#`| Replaced with the resolved name |
|
|
343
342
|
| `#IP#` | Replaced with the resolved IP |
|
|
@@ -355,6 +354,7 @@ Here details the options for multiSSH3 6.02 @ 2025-11-10
|
|
|
355
354
|
|
|
356
355
|
### `-p, --password PASSWORD` | _`DEFAULT_PASSWORD`_
|
|
357
356
|
- You can specify the password for all hosts using this option. Although it is recommended to use SSH keys / store password in config file for authentication.
|
|
357
|
+
- Note: a password given on the command line is plain text. It can be seen by other local users (e.g. in `ps` and your shell history), is echoed in the `> mssh ...` line mssh prints at start, and is recorded in the history file (`-hf`, default `~/.mssh_history`) so the command can be replayed. mssh creates a new history file readable by its owner only (mode 600); an existing history file keeps its permissions. Use `-I, --no_history` to keep a command out of the history, or set `DEFAULT_PASSWORD` in a config file (also plain text, so keep that file private) to avoid typing it on the command line.
|
|
358
358
|
|
|
359
359
|
### `-k, --key, --identity [KEY]` | _`DEFAULT_IDENTITY_FILE`_
|
|
360
360
|
- You can specify the identity file or folder to use for public key authentication. If a folder is specified, it will search for a key file inside the folder.
|
|
@@ -375,6 +375,8 @@ mssh -ea="--delete" -f ./data/ allServers /tmp/data/
|
|
|
375
375
|
|
|
376
376
|
### `-11, --oneonone` | _`DEFAULT_ONE_ON_ONE`_
|
|
377
377
|
- Run commands in one-on-one mode, where each command corresponds to each host, front to back.
|
|
378
|
+
- Hosts are taken in the order they are given. A range or an environment variable expands in ascending order in its place, e.g. `b,a[1-2]` pairs the commands with `b`, `a1`, `a2`.
|
|
379
|
+
- Hosts skipped with `-X, --skip_hosts` are left out before pairing, so give one command per remaining host. An unreachable host keeps its command, which is skipped.
|
|
378
380
|
- If command list length is not equal to expanded host list length, an error will be raised.
|
|
379
381
|
|
|
380
382
|
### `-f, --file FILE` | None
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: multiSSH3
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.26
|
|
4
4
|
Summary: Run commands on multiple hosts via SSH
|
|
5
5
|
Home-page: https://github.com/yufei-pan/multiSSH3
|
|
6
6
|
Author: Yufei Pan
|
|
@@ -348,8 +348,9 @@ While leaving minimum 40 characters / 1 line for each host display by default. Y
|
|
|
348
348
|
> ← or → : Move cursor
|
|
349
349
|
> PgUp/Dn : Scroll history by 5
|
|
350
350
|
> Home/End: Jump cursor
|
|
351
|
-
> Esc : Clear
|
|
351
|
+
> Esc : Clear / hide view
|
|
352
352
|
> ```
|
|
353
|
+
> `Esc` clears the input line. On an empty input line it hides the live view; the commands keep running and their output is printed when they finish.
|
|
353
354
|
> You can also toggle this help in curses by pressing `?` or `F1`.
|
|
354
355
|
|
|
355
356
|
### Command String Replacement
|
|
@@ -364,8 +365,6 @@ mssh will replace some magic strings in the command string with host specific va
|
|
|
364
365
|
| `#USERNAME#` | Replaced with the username |
|
|
365
366
|
| `#ID#` | Replaced with the ID of the host obj |
|
|
366
367
|
| `#I# ` | Replaced with the index of the host |
|
|
367
|
-
| `#PASSWD#` | Replaced with the password |
|
|
368
|
-
| `#PASSWORD#` | Replaced with the password |
|
|
369
368
|
| `#UUID#` | Replaced with the UUID of the host |
|
|
370
369
|
| `#RESOLVEDNAME#`| Replaced with the resolved name |
|
|
371
370
|
| `#IP#` | Replaced with the resolved IP |
|
|
@@ -383,6 +382,7 @@ Here details the options for multiSSH3 6.02 @ 2025-11-10
|
|
|
383
382
|
|
|
384
383
|
### `-p, --password PASSWORD` | _`DEFAULT_PASSWORD`_
|
|
385
384
|
- You can specify the password for all hosts using this option. Although it is recommended to use SSH keys / store password in config file for authentication.
|
|
385
|
+
- Note: a password given on the command line is plain text. It can be seen by other local users (e.g. in `ps` and your shell history), is echoed in the `> mssh ...` line mssh prints at start, and is recorded in the history file (`-hf`, default `~/.mssh_history`) so the command can be replayed. mssh creates a new history file readable by its owner only (mode 600); an existing history file keeps its permissions. Use `-I, --no_history` to keep a command out of the history, or set `DEFAULT_PASSWORD` in a config file (also plain text, so keep that file private) to avoid typing it on the command line.
|
|
386
386
|
|
|
387
387
|
### `-k, --key, --identity [KEY]` | _`DEFAULT_IDENTITY_FILE`_
|
|
388
388
|
- You can specify the identity file or folder to use for public key authentication. If a folder is specified, it will search for a key file inside the folder.
|
|
@@ -403,6 +403,8 @@ mssh -ea="--delete" -f ./data/ allServers /tmp/data/
|
|
|
403
403
|
|
|
404
404
|
### `-11, --oneonone` | _`DEFAULT_ONE_ON_ONE`_
|
|
405
405
|
- Run commands in one-on-one mode, where each command corresponds to each host, front to back.
|
|
406
|
+
- Hosts are taken in the order they are given. A range or an environment variable expands in ascending order in its place, e.g. `b,a[1-2]` pairs the commands with `b`, `a1`, `a2`.
|
|
407
|
+
- Hosts skipped with `-X, --skip_hosts` are left out before pairing, so give one command per remaining host. An unreachable host keeps its command, which is skipped.
|
|
406
408
|
- If command list length is not equal to expanded host list length, an error will be raised.
|
|
407
409
|
|
|
408
410
|
### `-f, --file FILE` | None
|