multiSSH3 6.44__tar.gz → 6.46__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.44/multiSSH3.egg-info → multissh3-6.46}/PKG-INFO +31 -4
- {multissh3-6.44 → multissh3-6.46}/README.md +30 -3
- {multissh3-6.44 → multissh3-6.46}/mssh_complete.py +310 -68
- {multissh3-6.44 → multissh3-6.46/multiSSH3.egg-info}/PKG-INFO +31 -4
- {multissh3-6.44 → multissh3-6.46}/multiSSH3.py +2 -2
- {multissh3-6.44 → multissh3-6.46}/tests/shells/Dockerfile.centos7 +8 -0
- {multissh3-6.44 → multissh3-6.46}/tests/shells/run_matrix.sh +2 -2
- {multissh3-6.44 → multissh3-6.46}/tests/test_complete_index.py +10 -2
- {multissh3-6.44 → multissh3-6.46}/tests/test_complete_keys.py +21 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_complete_shells.py +634 -12
- {multissh3-6.44 → multissh3-6.46}/LICENSE +0 -0
- {multissh3-6.44 → multissh3-6.46}/MANIFEST.in +0 -0
- {multissh3-6.44 → multissh3-6.46}/multiSSH3.egg-info/SOURCES.txt +0 -0
- {multissh3-6.44 → multissh3-6.46}/multiSSH3.egg-info/dependency_links.txt +0 -0
- {multissh3-6.44 → multissh3-6.46}/multiSSH3.egg-info/entry_points.txt +0 -0
- {multissh3-6.44 → multissh3-6.46}/multiSSH3.egg-info/top_level.txt +0 -0
- {multissh3-6.44 → multissh3-6.46}/pytest.ini +0 -0
- {multissh3-6.44 → multissh3-6.46}/scripts/multiSSH3 +0 -0
- {multissh3-6.44 → multissh3-6.46}/setup.cfg +0 -0
- {multissh3-6.44 → multissh3-6.46}/setup.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/bench_complete.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/complete_shell_harness.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/conftest.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/data/run_command_golden.json +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/replay.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/shells/Dockerfile.bash3.2 +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/shells/Dockerfile.bash5.0 +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/shells/Dockerfile.bash5.1 +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/shells/Dockerfile.bash5.3 +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/shells/Dockerfile.current +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/shells/Dockerfile.el10 +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/shells/Dockerfile.el9 +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/shells/Dockerfile.legacy +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/shells/Dockerfile.modern +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_cli_branches.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_cli_option_words.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_cli_processing.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_closed_output.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_color_helpers.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_command_terminal.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_compact_hostnames.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_complete_blesh.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_complete_cli.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_complete_context.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_complete_diagnose.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_complete_editor.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_complete_engine.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_complete_eval.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_complete_harness.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_complete_hosts.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_complete_hoststate.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_complete_lex.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_complete_mssh_helpers.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_complete_password_spellings.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_complete_picker.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_complete_probe.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_complete_start.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_complete_store.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_complete_suggest.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_complete_terminal.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_complete_untrusted.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_complete_zsh_options.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_config_cli.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_config_validate.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_config_values.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_control_master_config.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_copy_id.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_curses_branches.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_curses_event_loop.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_curses_tui.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_curses_wide_chars.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_expand_hostnames.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_file_trust.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_harness_smoke.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_helpers_extra.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_history_replay.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_host.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_host_validity.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_hosts_file.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_identities_only.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_ipmi_lockout_wait.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_ipmi_logins.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_key_path_home.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_login_drop_retry.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_main_lifecycle.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_narrow_terminal.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_no_hosts.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_option_no_effect.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_options_after_command.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_output_merge.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_output_robustness.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_packaging.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_password_handling.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_passwords_out_of_ps.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_run_command.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_run_command_branches.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_run_command_characterization.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_run_command_exit.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_run_on_hosts.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_run_on_hosts_modes.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_runtime_branch_matrix.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_runtime_dir.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_shared_lines.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_smoke_optional.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_ssh_error_text.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_ssh_timeouts.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_sshpass_exit.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_start_run_on_hosts.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_stopped_commands.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_stream_reader.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_streamed_output.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_tui_ssh_notices.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_unavailable_hosts.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_underscore_settings.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_waiting.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/test_wide_wrap.py +0 -0
- {multissh3-6.44 → multissh3-6.46}/tests/vt_grid.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: multiSSH3
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.46
|
|
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
|
|
@@ -155,8 +155,9 @@ It also installs `mssh-complete`, the shell autocomplete engine behind `mssh --c
|
|
|
155
155
|
|
|
156
156
|
Need Python 3.6+
|
|
157
157
|
|
|
158
|
-
-
|
|
159
|
-
- With
|
|
158
|
+
- On EL7 and EL8, run `python3 -m pip install --user -U pip` once before a `--user` install or upgrade: the stock pip (pip 9, `pip3 --version`) leaves the old version's record behind, and a later `pip3 uninstall multiSSH3` leaves the old version listed. Without `--user`, upgrade pip the same way without `--user` (`python3 -m pip install -U pip`).
|
|
159
|
+
- With pip 9, upgrading from 6.43 or earlier and `pip3 uninstall multiSSH3` of those releases stop with `configparser.DuplicateOptionError: ... option 'multissh3' in section 'console_scripts' already exists`, and nothing changes: the installed release keeps working. Upgrade pip as above, then upgrade or uninstall ([limitations](docs/limitations.md#pip-9-cannot-upgrade-from-or-uninstall-643-and-earlier)).
|
|
160
|
+
- With `--user` the same happens, except that `pip3 install --user -U multiSSH3` with no version does not stop: it installs the new release, which works, and leaves the old release's metadata behind. `pip3 list` then shows the old release after `pip3 uninstall multiSSH3`, and the next uninstall stops with that error. Upgrading pip first, as above, avoids it. If it has already happened, upgrade pip, run `pip3 uninstall multiSSH3` until it says multiSSH3 is not installed, and install again.
|
|
160
161
|
- With pip 10 or later, in a venv whose path has a space or is too long for the kernel's `#!` line, the `multiSSH3` spelling does not start (the error varies: "bad interpreter", `import: command not found`), because pip gives a script file a plain `#!` line: use `multissh3`. With pip 9 no spelling starts in such a venv, as in 6.43. uv and system or `--user` installs are not affected ([limitations](docs/limitations.md#the-multissh3-spelling-in-a-venv-with-a-space-in-its-path)).
|
|
161
162
|
|
|
162
163
|
## Configuration
|
|
@@ -999,7 +1000,7 @@ Option names count in full only: `--user` is not `--username` and `-c` is not `-
|
|
|
999
1000
|
|
|
1000
1001
|
Putting the command after `--` is no substitute for quotes: every word after the hosts is a command of its own, so `mssh web1 -- bash -c 'echo hi'` runs `bash`, `-c` and `echo hi` one after another (when each word is a single word, as in `mssh web1 -- ls -la`, mssh asks whether to join them).
|
|
1001
1002
|
|
|
1002
|
-
Below is a sample help message output from multiSSH3 6.
|
|
1003
|
+
Below is a sample help message output from multiSSH3 6.46 @ 2026-11-07 (no config file, 120 columns; the lines after the options list the programs found on that machine)
|
|
1003
1004
|
|
|
1004
1005
|
```bash
|
|
1005
1006
|
$ mssh -h
|
|
@@ -1413,6 +1414,32 @@ __DEBUG_MODE = False
|
|
|
1413
1414
|
|
|
1414
1415
|
> `__DEBUG_MODE` is used to control whether to print host thread execution debug information to its stderr.
|
|
1415
1416
|
|
|
1417
|
+
## Upgrading to 6.46 from 6.45
|
|
1418
|
+
|
|
1419
|
+
Run `mssh --completion install` again (zsh): the fixes below are in the new glue. What you may notice:
|
|
1420
|
+
|
|
1421
|
+
- Fix (zsh): a quote after a plain name's `=` stays, as after a remote option's: `mssh h dd if="zz<TAB>` gave `if=zzfile ` and now gives `if="zzfile" `, `make VAR="zz<TAB>` the same; beside another name TAB no longer takes the quote back (`if="zz` stayed `if=zz`).
|
|
1422
|
+
- Fix (zsh): inside backticks, a name that needs quoting is offered again, written for the extra reading backticks get: with a file `zzs$v`, `` `mssh h cat zz<TAB> `` gives `` `mssh h cat zzs\\\\\\\$v ``, and the remote shell gets `cat zzs$v`, as in `$( )`. Also in quoted commands and arguments, after `--output="` and `if="`, history names, and mssh's own file options: `` `mssh -f zz<TAB> `` gave `zzs\$v`, so mssh got `-f zzs`, and now gives `zzs\\\$v`. TAB goes on into such a directory (`` `mssh h cat zzd<TAB>zz<TAB> `` for `zzd&x/zzin`), except in a quoted command, a double-quoted word holding an expansion, or after a quote at an `=` ([limitations](docs/limitations.md#zsh-inside-backticks-tab-does-not-go-on-into-a-changed-directory-in-a-quoted-command-or-after-a-quote-at-an-)).
|
|
1423
|
+
- Fix (zsh): a backtick in single quotes, `$'...'` or after a backslash no longer counts as an open one: `` mssh h echo '`' zz<TAB> `` offers `zzs$v` again, as 6.44 did.
|
|
1424
|
+
- Fix (zsh): in a word holding a `/`, mssh's history names are offered beside the command's own names: with `sub/zzlocal` here and `cat sub/zzremote` in history, `mssh h cat sub/zz<TAB>` stays as typed, and `r<TAB>` gives `sub/zzremote`. Also in `cat "sub/zz`, `sort --output=sub/zz` and `~/.zz`. Not yet in a quoted command, a double-quoted word holding an expansion or after a quote at an `=`, where they are offered when the command offers nothing, as in 6.45 ([limitations](docs/limitations.md#zsh-beside-the-commands-own-names-a-history-name-in-a-quoted-commands-word-holding-a--is-left-out)).
|
|
1425
|
+
- Known (zsh, deferred to 6.47): inside `$(`, with `bang_hist` on (zsh's default), a double-quoted name holding `!` reaches mssh as `\!`: `$(mssh -f "zz<TAB>` for a file `zz!x` gives mssh `-f zz\!x`. On the line and inside backticks it reaches mssh as `zz!x`. 6.45 does the same, except after a quote at an `=` (`$(mssh h dd if="zz<TAB>`), where 6.45 dropped the quote and mssh got `if=zz!x` ([limitations](docs/limitations.md#zsh-inside---with-bang_hist-on-a-name-holding--in-a-double-quote-reaches-mssh-as-)).
|
|
1426
|
+
- Known (zsh, deferred to 6.47): a value that the command's completion splits after a quote at an `=` loses the quote, as in 6.45: `mssh h make CFLAGS="-ggd<TAB>` gives `CFLAGS=-ggdb`. With a history name for it the quote stays, except for a value holding a `/` with a local name beside it ([limitations](docs/limitations.md#zsh-a-value-the-command-splits-after-a-quote-at-an--loses-the-quote)).
|
|
1427
|
+
- Known (zsh, deferred to 6.47): in a double-quoted command holding `\"`, TAB puts the name after the typed word: `mssh h "grep \"a b\" zz<TAB>` gives `zzfilezz`, as in 6.45 and zsh's own `compset -q` ([limitations](docs/limitations.md#zsh-in-a-double-quoted-command-holding--tab-puts-the-name-after-the-typed-word)).
|
|
1428
|
+
- Fix (zsh): TAB no longer leaves `MATCH`, `MBEGIN` and `MEND` set in the shell, as stock zsh leaves none: they showed in `set` and as names `echo $M<TAB>` offered. 6.45 left them after TAB on some mssh lines.
|
|
1429
|
+
- Change (zsh): a `~/` typed before a history name stays as typed, this shell's home, as the line gives without TAB: `mssh h cat ~/.zzr<TAB>` with `cat ~/.zzremote` in history gave `\~/.zzremote`, the remote host's home, and now gives `~/.zzremote`.
|
|
1430
|
+
|
|
1431
|
+
## Upgrading to 6.45 from 6.44
|
|
1432
|
+
|
|
1433
|
+
Run `mssh --completion install` again (zsh): the fixes below are in the new glue. What you may notice:
|
|
1434
|
+
|
|
1435
|
+
- Fix (zsh): a double-quoted word holding an expansion stays as typed in a command that starts inside backticks, as it does inside `$(`: `` `mssh h "ls $PWD/zzp<TAB> `` gave `` `mssh h ls\ /the/directory/zzp ``, the quote gone and the value expanded, and now gives `` `mssh h "ls $PWD/zzplain" ``. Also after `echo` or `x=`, with closed or escaped backticks or a closed `$( )` on the line, and in `mssh h ls "$PWD/zzp` and `mssh --file="$PWD/zzp`. The grey text's check of an mssh line reads backticks the same way.
|
|
1436
|
+
- Change (zsh): every word of a command inside backticks now reaches the engine as itself: zsh gives the backtick as the word's open quote, and the engine got it in front of the word. `` `mssh h ls zzp<TAB> `` now gets its space after the name, and mssh's own words (hosts, options, history) are offered there as they are outside backticks.
|
|
1437
|
+
- Fix (zsh): a name from history is offered after a quote at a remote option's equals sign, and keeps the quote: with `sort --output=zzhist.txt` in history, `mssh h sort --output="zz<TAB>` stayed as typed and now gives `mssh h sort --output="zzhist.txt" `. Also `mssh h -- --output="zz`.
|
|
1438
|
+
- Change (zsh): the quote at a remote option's equals sign stays for the command's own names too: `mssh h ls --color="au<TAB>` gave `--color=auto ` and now gives `--color="auto" `, and `mssh h tar --file="zza<TAB>` gives `--file="zza\\&b" `; into a directory too: with `zzd&x/zzin`, `mssh h tar --file="zzd<TAB><TAB>` gives `--file="zzd\\&x/zzin" ` (6.44: `--file=zzd\\\&x/zzin `); and in a list value: `mssh h ps --format="pid,us<TAB>` keeps the quote, with or without a `ps --format=` command in history (6.44 dropped the quote). A name holding whitespace is left out there: `mssh h sort --output="zz s<TAB>` gave `--output=zz\ sfile `, which mssh runs as two commands, and now stays as typed.
|
|
1439
|
+
- Fix (zsh): TAB no longer takes back what was typed when a name from history stands beside a local name in a word holding a directory: `mssh h cat ~/.zz<TAB>`, with that file local and in history, gave `mssh h cat `. The same in `mssh h "cat ~/.zz`, `mssh h 'cat /etc/os-`, `mssh h cat "/etc/os-` and `mssh h sort --output=/etc/os-`. In such a word, or a quoted command holding a `/`, once the command's completion offers a name (a local file, one of its options), history's names are not offered (6.46 offers them, except in a quoted command, a double-quoted word holding an expansion or after a quote at an `=`).
|
|
1440
|
+
- Change (zsh): inside backticks, a name of a remote command's that would need quoting is left out (`zzs$v`, `zzamp&b`, ``zzb`t``, `zzc\d`, `zzq"x`). This shell reads text in backticks once more than in `$( )`, so such a name reached the remote shell one quoting level short. `$( )` offers them all. Not covered yet: mssh's own file options (`` `mssh -f zz<TAB> `` gives `zzs\$v`, so mssh gets `-f zzs`, as stock zsh does for any command), and a backtick in single quotes is counted too, so `` mssh h echo '`' zz<TAB> `` leaves out `zzs$v`, which 6.44 offered (both fixed in 6.46).
|
|
1441
|
+
- Fix (zsh): `` `mssh h ls $PWD/zzp<TAB> `` keeps the `$`: it went in as `\$PWD`. And `` `mssh --password=se<TAB> `` no longer offers a local file.
|
|
1442
|
+
|
|
1416
1443
|
## Upgrading to 6.44 from 6.43
|
|
1417
1444
|
|
|
1418
1445
|
Run `mssh --completion install` again (bash, ble.sh, zsh and fish): the fixes below are in the new glue. What you may notice:
|
|
@@ -129,8 +129,9 @@ It also installs `mssh-complete`, the shell autocomplete engine behind `mssh --c
|
|
|
129
129
|
|
|
130
130
|
Need Python 3.6+
|
|
131
131
|
|
|
132
|
-
-
|
|
133
|
-
- With
|
|
132
|
+
- On EL7 and EL8, run `python3 -m pip install --user -U pip` once before a `--user` install or upgrade: the stock pip (pip 9, `pip3 --version`) leaves the old version's record behind, and a later `pip3 uninstall multiSSH3` leaves the old version listed. Without `--user`, upgrade pip the same way without `--user` (`python3 -m pip install -U pip`).
|
|
133
|
+
- With pip 9, upgrading from 6.43 or earlier and `pip3 uninstall multiSSH3` of those releases stop with `configparser.DuplicateOptionError: ... option 'multissh3' in section 'console_scripts' already exists`, and nothing changes: the installed release keeps working. Upgrade pip as above, then upgrade or uninstall ([limitations](docs/limitations.md#pip-9-cannot-upgrade-from-or-uninstall-643-and-earlier)).
|
|
134
|
+
- With `--user` the same happens, except that `pip3 install --user -U multiSSH3` with no version does not stop: it installs the new release, which works, and leaves the old release's metadata behind. `pip3 list` then shows the old release after `pip3 uninstall multiSSH3`, and the next uninstall stops with that error. Upgrading pip first, as above, avoids it. If it has already happened, upgrade pip, run `pip3 uninstall multiSSH3` until it says multiSSH3 is not installed, and install again.
|
|
134
135
|
- With pip 10 or later, in a venv whose path has a space or is too long for the kernel's `#!` line, the `multiSSH3` spelling does not start (the error varies: "bad interpreter", `import: command not found`), because pip gives a script file a plain `#!` line: use `multissh3`. With pip 9 no spelling starts in such a venv, as in 6.43. uv and system or `--user` installs are not affected ([limitations](docs/limitations.md#the-multissh3-spelling-in-a-venv-with-a-space-in-its-path)).
|
|
135
136
|
|
|
136
137
|
## Configuration
|
|
@@ -973,7 +974,7 @@ Option names count in full only: `--user` is not `--username` and `-c` is not `-
|
|
|
973
974
|
|
|
974
975
|
Putting the command after `--` is no substitute for quotes: every word after the hosts is a command of its own, so `mssh web1 -- bash -c 'echo hi'` runs `bash`, `-c` and `echo hi` one after another (when each word is a single word, as in `mssh web1 -- ls -la`, mssh asks whether to join them).
|
|
975
976
|
|
|
976
|
-
Below is a sample help message output from multiSSH3 6.
|
|
977
|
+
Below is a sample help message output from multiSSH3 6.46 @ 2026-11-07 (no config file, 120 columns; the lines after the options list the programs found on that machine)
|
|
977
978
|
|
|
978
979
|
```bash
|
|
979
980
|
$ mssh -h
|
|
@@ -1387,6 +1388,32 @@ __DEBUG_MODE = False
|
|
|
1387
1388
|
|
|
1388
1389
|
> `__DEBUG_MODE` is used to control whether to print host thread execution debug information to its stderr.
|
|
1389
1390
|
|
|
1391
|
+
## Upgrading to 6.46 from 6.45
|
|
1392
|
+
|
|
1393
|
+
Run `mssh --completion install` again (zsh): the fixes below are in the new glue. What you may notice:
|
|
1394
|
+
|
|
1395
|
+
- Fix (zsh): a quote after a plain name's `=` stays, as after a remote option's: `mssh h dd if="zz<TAB>` gave `if=zzfile ` and now gives `if="zzfile" `, `make VAR="zz<TAB>` the same; beside another name TAB no longer takes the quote back (`if="zz` stayed `if=zz`).
|
|
1396
|
+
- Fix (zsh): inside backticks, a name that needs quoting is offered again, written for the extra reading backticks get: with a file `zzs$v`, `` `mssh h cat zz<TAB> `` gives `` `mssh h cat zzs\\\\\\\$v ``, and the remote shell gets `cat zzs$v`, as in `$( )`. Also in quoted commands and arguments, after `--output="` and `if="`, history names, and mssh's own file options: `` `mssh -f zz<TAB> `` gave `zzs\$v`, so mssh got `-f zzs`, and now gives `zzs\\\$v`. TAB goes on into such a directory (`` `mssh h cat zzd<TAB>zz<TAB> `` for `zzd&x/zzin`), except in a quoted command, a double-quoted word holding an expansion, or after a quote at an `=` ([limitations](docs/limitations.md#zsh-inside-backticks-tab-does-not-go-on-into-a-changed-directory-in-a-quoted-command-or-after-a-quote-at-an-)).
|
|
1397
|
+
- Fix (zsh): a backtick in single quotes, `$'...'` or after a backslash no longer counts as an open one: `` mssh h echo '`' zz<TAB> `` offers `zzs$v` again, as 6.44 did.
|
|
1398
|
+
- Fix (zsh): in a word holding a `/`, mssh's history names are offered beside the command's own names: with `sub/zzlocal` here and `cat sub/zzremote` in history, `mssh h cat sub/zz<TAB>` stays as typed, and `r<TAB>` gives `sub/zzremote`. Also in `cat "sub/zz`, `sort --output=sub/zz` and `~/.zz`. Not yet in a quoted command, a double-quoted word holding an expansion or after a quote at an `=`, where they are offered when the command offers nothing, as in 6.45 ([limitations](docs/limitations.md#zsh-beside-the-commands-own-names-a-history-name-in-a-quoted-commands-word-holding-a--is-left-out)).
|
|
1399
|
+
- Known (zsh, deferred to 6.47): inside `$(`, with `bang_hist` on (zsh's default), a double-quoted name holding `!` reaches mssh as `\!`: `$(mssh -f "zz<TAB>` for a file `zz!x` gives mssh `-f zz\!x`. On the line and inside backticks it reaches mssh as `zz!x`. 6.45 does the same, except after a quote at an `=` (`$(mssh h dd if="zz<TAB>`), where 6.45 dropped the quote and mssh got `if=zz!x` ([limitations](docs/limitations.md#zsh-inside---with-bang_hist-on-a-name-holding--in-a-double-quote-reaches-mssh-as-)).
|
|
1400
|
+
- Known (zsh, deferred to 6.47): a value that the command's completion splits after a quote at an `=` loses the quote, as in 6.45: `mssh h make CFLAGS="-ggd<TAB>` gives `CFLAGS=-ggdb`. With a history name for it the quote stays, except for a value holding a `/` with a local name beside it ([limitations](docs/limitations.md#zsh-a-value-the-command-splits-after-a-quote-at-an--loses-the-quote)).
|
|
1401
|
+
- Known (zsh, deferred to 6.47): in a double-quoted command holding `\"`, TAB puts the name after the typed word: `mssh h "grep \"a b\" zz<TAB>` gives `zzfilezz`, as in 6.45 and zsh's own `compset -q` ([limitations](docs/limitations.md#zsh-in-a-double-quoted-command-holding--tab-puts-the-name-after-the-typed-word)).
|
|
1402
|
+
- Fix (zsh): TAB no longer leaves `MATCH`, `MBEGIN` and `MEND` set in the shell, as stock zsh leaves none: they showed in `set` and as names `echo $M<TAB>` offered. 6.45 left them after TAB on some mssh lines.
|
|
1403
|
+
- Change (zsh): a `~/` typed before a history name stays as typed, this shell's home, as the line gives without TAB: `mssh h cat ~/.zzr<TAB>` with `cat ~/.zzremote` in history gave `\~/.zzremote`, the remote host's home, and now gives `~/.zzremote`.
|
|
1404
|
+
|
|
1405
|
+
## Upgrading to 6.45 from 6.44
|
|
1406
|
+
|
|
1407
|
+
Run `mssh --completion install` again (zsh): the fixes below are in the new glue. What you may notice:
|
|
1408
|
+
|
|
1409
|
+
- Fix (zsh): a double-quoted word holding an expansion stays as typed in a command that starts inside backticks, as it does inside `$(`: `` `mssh h "ls $PWD/zzp<TAB> `` gave `` `mssh h ls\ /the/directory/zzp ``, the quote gone and the value expanded, and now gives `` `mssh h "ls $PWD/zzplain" ``. Also after `echo` or `x=`, with closed or escaped backticks or a closed `$( )` on the line, and in `mssh h ls "$PWD/zzp` and `mssh --file="$PWD/zzp`. The grey text's check of an mssh line reads backticks the same way.
|
|
1410
|
+
- Change (zsh): every word of a command inside backticks now reaches the engine as itself: zsh gives the backtick as the word's open quote, and the engine got it in front of the word. `` `mssh h ls zzp<TAB> `` now gets its space after the name, and mssh's own words (hosts, options, history) are offered there as they are outside backticks.
|
|
1411
|
+
- Fix (zsh): a name from history is offered after a quote at a remote option's equals sign, and keeps the quote: with `sort --output=zzhist.txt` in history, `mssh h sort --output="zz<TAB>` stayed as typed and now gives `mssh h sort --output="zzhist.txt" `. Also `mssh h -- --output="zz`.
|
|
1412
|
+
- Change (zsh): the quote at a remote option's equals sign stays for the command's own names too: `mssh h ls --color="au<TAB>` gave `--color=auto ` and now gives `--color="auto" `, and `mssh h tar --file="zza<TAB>` gives `--file="zza\\&b" `; into a directory too: with `zzd&x/zzin`, `mssh h tar --file="zzd<TAB><TAB>` gives `--file="zzd\\&x/zzin" ` (6.44: `--file=zzd\\\&x/zzin `); and in a list value: `mssh h ps --format="pid,us<TAB>` keeps the quote, with or without a `ps --format=` command in history (6.44 dropped the quote). A name holding whitespace is left out there: `mssh h sort --output="zz s<TAB>` gave `--output=zz\ sfile `, which mssh runs as two commands, and now stays as typed.
|
|
1413
|
+
- Fix (zsh): TAB no longer takes back what was typed when a name from history stands beside a local name in a word holding a directory: `mssh h cat ~/.zz<TAB>`, with that file local and in history, gave `mssh h cat `. The same in `mssh h "cat ~/.zz`, `mssh h 'cat /etc/os-`, `mssh h cat "/etc/os-` and `mssh h sort --output=/etc/os-`. In such a word, or a quoted command holding a `/`, once the command's completion offers a name (a local file, one of its options), history's names are not offered (6.46 offers them, except in a quoted command, a double-quoted word holding an expansion or after a quote at an `=`).
|
|
1414
|
+
- Change (zsh): inside backticks, a name of a remote command's that would need quoting is left out (`zzs$v`, `zzamp&b`, ``zzb`t``, `zzc\d`, `zzq"x`). This shell reads text in backticks once more than in `$( )`, so such a name reached the remote shell one quoting level short. `$( )` offers them all. Not covered yet: mssh's own file options (`` `mssh -f zz<TAB> `` gives `zzs\$v`, so mssh gets `-f zzs`, as stock zsh does for any command), and a backtick in single quotes is counted too, so `` mssh h echo '`' zz<TAB> `` leaves out `zzs$v`, which 6.44 offered (both fixed in 6.46).
|
|
1415
|
+
- Fix (zsh): `` `mssh h ls $PWD/zzp<TAB> `` keeps the `$`: it went in as `\$PWD`. And `` `mssh --password=se<TAB> `` no longer offers a local file.
|
|
1416
|
+
|
|
1390
1417
|
## Upgrading to 6.44 from 6.43
|
|
1391
1418
|
|
|
1392
1419
|
Run `mssh --completion install` again (bash, ble.sh, zsh and fish): the fixes below are in the new glue. What you may notice:
|