mcp-ssh-manager 4.4.1 → 4.4.2
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.
- package/CHANGELOG.md +8 -0
- package/Formula/ssh-manager.rb +2 -2
- package/README.md +6 -4
- package/desktop/electron/package-lock.json +2 -2
- package/desktop/electron/package.json +1 -1
- package/docs/MIGRATION.md +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/src/session-manager.js +11 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [4.4.2] - 2026-11-28
|
|
11
|
+
|
|
12
|
+
**A session starts again on CentOS 7.** 4.4.1 broke it there; found, traced and fixed by @nethinwei (#163, #180). Nothing else changes.
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
|
|
16
|
+
- **A session could not start on CentOS 7, nor when the shell took more than five seconds to answer (4.4.1, #163).** A new session sends a few set-up lines (stop the echo, drop the prompt, turn line editing off), then a readiness marker, and gave the shell five seconds to print it. On bash 4.2 (CentOS 7) the lines sent after `set +o emacs` in the same write never run, so the marker never came; line editing seems to take the lines it had read ahead with it. Behind a bastion, or with a heavy rc file, the shell can also take more than five seconds to answer. The set-up lines now go on one line, and the session waits up to thirty seconds.
|
|
17
|
+
|
|
10
18
|
## [4.4.1] - 2026-11-27
|
|
11
19
|
|
|
12
20
|
**Sessions: four fixes, reported and traced to the line by @nethinwei (#163).**
|
package/Formula/ssh-manager.rb
CHANGED
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
class SshManager < Formula
|
|
14
14
|
desc "SSH server management for AI agents, with approval and audit"
|
|
15
15
|
homepage "https://github.com/bvisible/mcp-ssh-manager"
|
|
16
|
-
url "https://registry.npmjs.org/mcp-ssh-manager/-/mcp-ssh-manager-4.4.
|
|
17
|
-
sha256 "
|
|
16
|
+
url "https://registry.npmjs.org/mcp-ssh-manager/-/mcp-ssh-manager-4.4.1.tgz"
|
|
17
|
+
sha256 "7b699c25345a95f5ef3388344c149a456fa8dd3b5b23388aa7e7b0374e496bc8"
|
|
18
18
|
license "MIT"
|
|
19
19
|
|
|
20
20
|
depends_on "node"
|
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
[](https://github.com/bvisible/mcp-ssh-manager/releases/latest)
|
|
26
26
|
[](https://github.com/bvisible/mcp-ssh-manager/stargazers)
|
|
27
27
|
[](https://mcptoplist.com/server/io.github.bvisible%2Fmcp-ssh-manager)
|
|
28
|
-
[](https://github.com/bvisible/mcp-ssh-manager/releases/tag/v4.4.2)
|
|
29
29
|
[](https://claude.ai/code)
|
|
30
30
|
[](https://openai.com/codex)
|
|
31
31
|
[](https://modelcontextprotocol.io)
|
|
@@ -58,9 +58,9 @@ An MCP SSH server is the most dangerous tool you can hand an agent: a shell on m
|
|
|
58
58
|
|
|
59
59
|
## Choose your workspace
|
|
60
60
|
|
|
61
|
-
**Desktop application (`4.4.
|
|
61
|
+
**Desktop application (`4.4.2`):** one installation with its own runtime,
|
|
62
62
|
terminal, file browser and server settings. No separate Node.js or npm
|
|
63
|
-
installation. [Download it](https://github.com/bvisible/mcp-ssh-manager/releases/tag/v4.4.
|
|
63
|
+
installation. [Download it](https://github.com/bvisible/mcp-ssh-manager/releases/tag/v4.4.2):
|
|
64
64
|
|
|
65
65
|
| Platform | File | Signature |
|
|
66
66
|
|---|---|---|
|
|
@@ -68,7 +68,7 @@ installation. [Download it](https://github.com/bvisible/mcp-ssh-manager/releases
|
|
|
68
68
|
| Windows x64 / arm64 | `…-setup.exe` | **Not code-signed yet.** Windows shows *"Windows protected your PC"*: *More info → Run anyway*. Check the file against the SHA-256 in `release-manifest-win32.json` on the release (`ssh-manager app` does it for you). Signing comes in a later release. |
|
|
69
69
|
| Linux x64 | `.deb`, `.AppImage` | Unsigned, as Linux packages usually are |
|
|
70
70
|
|
|
71
|
-
**Already using npm / the CLI?** `npm update -g mcp-ssh-manager` brings 4.4.
|
|
71
|
+
**Already using npm / the CLI?** `npm update -g mcp-ssh-manager` brings 4.4.2,
|
|
72
72
|
and the V4 engine runs without an interface, from your existing `.env`, TOML or
|
|
73
73
|
process variables — no automatic import, no forced wizard, no approval prompt
|
|
74
74
|
unless you enable one per server. The one behaviour that tightens is **SSH
|
|
@@ -722,6 +722,8 @@ The hero animation ships twice, light and dark, swapped by `<picture>` on `prefe
|
|
|
722
722
|
|
|
723
723
|
## What's new
|
|
724
724
|
|
|
725
|
+
**[4.4.2](https://github.com/bvisible/mcp-ssh-manager/releases/tag/v4.4.2) — a session starts again on CentOS 7, and on a host that takes seconds to answer.** 4.4.1 sent a new session's set-up in a way bash 4.2 drops, so no session started on CentOS 7, and it gave the shell only five seconds to answer, too short behind a bastion. The set-up now goes on one line and the session waits up to thirty seconds. Found, traced and fixed by @nethinwei (#163, #180).
|
|
726
|
+
|
|
725
727
|
**[4.4.1](https://github.com/bvisible/mcp-ssh-manager/releases/tag/v4.4.1) — sessions read what the shell answers, and a session command shows on the Live page.** Sending a command into a session reported it as failed on a server that echoes its input (a bastion that ignores the request to turn echo off), kept the old working directory after `cd` and `export`, and returned prompts and escape codes in the output. It now reads the shell's own answer, and the commands you send into a session appear on the Live page and in the history as `ssh_execute` ones do. Reported and traced to the line by @nethinwei (#163).
|
|
726
728
|
|
|
727
729
|
**[4.4.0](https://github.com/bvisible/mcp-ssh-manager/releases/tag/v4.4.0) — keep the desktop app running when you close its window, readable dropdowns in dark mode, and `vim` works in the terminal.** *Options → Appearance* has a new, opt-in switch: with it on, closing the window leaves SSH Manager in the system tray (Windows, Linux) or the menu bar (macOS), so approval requests still reach you; nothing changes until you turn it on. Native `<select>` menus are no longer light text on a white menu in dark mode on Windows and Linux, and vim no longer freezes the interface's terminal on its first screen. From @AnA-0823 (#173, #174) and @congzhou09 (#175). See the [CHANGELOG](CHANGELOG.md#440---2026-11-26).
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ssh-manager-desktop",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.2",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "ssh-manager-desktop",
|
|
9
|
-
"version": "4.4.
|
|
9
|
+
"version": "4.4.2",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"electron-updater": "^6.8.9",
|
package/docs/MIGRATION.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Upgrading from 3.8 to 4.0
|
|
2
2
|
|
|
3
|
-
**4.0 is released, on npm and as a desktop application**; the latest is 4.4.
|
|
3
|
+
**4.0 is released, on npm and as a desktop application**; the latest is 4.4.2 ([release](https://github.com/bvisible/mcp-ssh-manager/releases/tag/v4.4.2)).
|
|
4
4
|
The last 3.8 release is 3.8.7, for anyone who pins the 3.8 line.
|
|
5
5
|
|
|
6
6
|
The upgrade path preserves headless npm/CLI use. The application, vault import
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-ssh-manager",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.2",
|
|
4
4
|
"mcpName": "io.github.bvisible/mcp-ssh-manager",
|
|
5
5
|
"description": "MCP server for SSH: let AI agents (Claude Code, Codex, any MCP client) run commands, transfer files and manage servers over SSH, with human approval, an encrypted vault and a live audit trail.",
|
|
6
6
|
"main": "src/index.js",
|
package/server.json
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
"url": "https://github.com/bvisible/mcp-ssh-manager",
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
|
-
"version": "4.4.
|
|
9
|
+
"version": "4.4.2",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "mcp-ssh-manager",
|
|
14
|
-
"version": "4.4.
|
|
14
|
+
"version": "4.4.2",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|
package/src/session-manager.js
CHANGED
|
@@ -68,6 +68,10 @@ function findMarkerLine(text, marker) {
|
|
|
68
68
|
};
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
+
// How long a new session waits for its shell to answer. A bastion can take
|
|
72
|
+
// more than five seconds to reach the host.
|
|
73
|
+
const READY_TIMEOUT = 30000;
|
|
74
|
+
|
|
71
75
|
// Commands after which the working directory or the environment may differ.
|
|
72
76
|
const CONTEXT_COMMAND = /^\s*(?:cd|pushd|popd|export|unset|source|\.)(?:\s|$)/;
|
|
73
77
|
|
|
@@ -155,6 +159,11 @@ class SSHSession {
|
|
|
155
159
|
// shell itself to stop all of it, and wait for an explicit readiness
|
|
156
160
|
// marker rather than a prompt. A shell that is not a shell (a bastion
|
|
157
161
|
// menu) answers none of it, and reading the output no longer depends on it.
|
|
162
|
+
//
|
|
163
|
+
// All of it goes on one line. On bash 4.2 (CentOS 7) the lines sent
|
|
164
|
+
// after `set +o emacs` in the same write never run, so the marker never
|
|
165
|
+
// came; line editing seems to take what it had read ahead with it. On
|
|
166
|
+
// one line, the marker is read before editing goes off.
|
|
158
167
|
const readyId = generateId();
|
|
159
168
|
this.shell.write([
|
|
160
169
|
'stty -echo 2>/dev/null',
|
|
@@ -162,10 +171,10 @@ class SSHSession {
|
|
|
162
171
|
'[ -n "$ZSH_VERSION" ] && unsetopt zle',
|
|
163
172
|
'set +o emacs +o vi 2>/dev/null',
|
|
164
173
|
`printf '\\n%s%s\\n' ready_ ${readyId}`
|
|
165
|
-
].join('
|
|
174
|
+
].join('; ') + '\n');
|
|
166
175
|
await this.waitUntil(
|
|
167
176
|
() => findMarkerLine(plainText(this.outputBuffer), `ready_${readyId}`),
|
|
168
|
-
|
|
177
|
+
READY_TIMEOUT,
|
|
169
178
|
`ready_${readyId}`
|
|
170
179
|
);
|
|
171
180
|
|