github tufantunc/ssh-mcp v2.30.0

34 minutes ago

Minor Changes

  • #355 e6565f6 Thanks @tufantunc! - Profiles can take their host, port, user, key, connect timeout and jump host from ~/.ssh/config with sshConfigHost = "<alias>". The file is read as data: directives that would run a local command or change how the host is reached (ProxyCommand, Match exec, LocalCommand, …) fail the config load instead of being skipped, Include is limited to ~/.ssh and the directories listed in [defaults] sshConfigIncludeRoots (for OrbStack's or Colima's ssh config), and host-key settings in the file are ignored. Lines OpenSSH would read differently, such as a quoted keyword or a directive with an empty value, fail the load too. defaults.transferRoot must be separate from the ssh config files read, the file sshConfigPath names and the sshConfigIncludeRoots directories, even before a profile uses them, so a transfer cannot rewrite them. Group, role and policy stay in config.toml.

    A key from IdentityFile is used alongside the SSH agent rather than in its place, and under auth = "agent" (the default when config.toml sets no auth, or written by hand with a keyRef) an encrypted key with no passphrase set is now skipped with a one-line notice while an agent is available, where it used to fail the connection.

Patch Changes

  • #350 f247641 Thanks @tufantunc! - The audit record of a call that fails after it was approved now names the approver. A failure from that point on, such as a connection dropping while an approved command runs or the daily quota refusing it, used to be recorded without one, although the command may already have changed the host. This applies to elicitation, client-tool and approval-grant approvals alike.

  • #354 c1f25cd Thanks @tufantunc! - Progress notifications for a running command now use the same redaction options as the command's final result.

Don't miss a new ssh-mcp release

NewReleases is sending notifications on new releases.