Repository navigation
Releases
Releases · k4yt3x/ssh-mcp
0.1.1
Changed
- Managed shells save no history and skip prompt and command hooks, such as atuin's.
- Merging a folder with
overwritekeeps the permissions of folders that already exist. allow_legacy_algorithmsalso lets RSA keys log in to servers that only take SHA-1.
Fixed
- Commands containing
!work in managed bash and zsh shells. - Managed mode works on servers that make
HISTFILEread-only. - RSA certificate logins work against OpenSSH 8.8 and later.
uploadandwrite_filerefuse pipes and devices instead of hanging.- Edits sent together on one connection no longer overwrite each other.
edit_filekeeps\r\nline endings in files that use them.- PKCS#8 keys made by
ssh-keygenon macOS and Windows, and ones encrypted with 3DES, can be read. - A canceled transfer, file edit or forward makes no further changes.
- A server without SFTP is reported at once instead of after two minutes.
execkeeps output that arrives after the exit status and no longer misreports timeouts.- Errors for missing folders, encrypted keys and SFTP failures say how to fix them.
- A key encrypted in a way that cannot be decrypted says so instead of blaming the passphrase.
Security
- A host key no longer passes as new when a known_hosts line uses tabs or is damaged.
- A private key passed by mistake as
private_key_fileis no longer quoted back in errors.
0.1.0
Added
- An MCP server over stdio for SSH; each connection is reached only through its token.
- Login by private key (text or file, optionally encrypted), OpenSSH certificate, or password.
- Host key checks by fingerprint or known_hosts file, and
accept_new_host_keyfor unknown hosts. - Jump hosts through
via, andallow_legacy_algorithmsfor old servers. execfor one-off commands with separate stdout and stderr, stdin, and a timeout.- Persistent shells that report exit codes, keep long commands running and render full screens.
- A shell call the client cancels interrupts nothing; its output and outcome wait for
shell_read. - SFTP tools to read, write, edit, upload and download files;
--disable-sftpremoves them. - Local, remote and dynamic (SOCKS5) port forwarding, each enabled by its own flag.