[PR #4] [CLOSED] fix: add paramiko 4.0 compatibility for NoValidConnectionsError #5

Closed
opened 2026-03-02 03:44:35 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/devnullvoid/mcp-ssh-session/pull/4
Author: @markng
Created: 1/28/2026
Status: Closed

Base: mainHead: main


📝 Commits (1)

  • 4d65f5d fix: add paramiko 4.0 compatibility for NoValidConnectionsError

📊 Changes

1 file changed (+7 additions, -1 deletions)

View changed files

📝 mcp_ssh_session/session_manager.py (+7 -1)

📄 Description

In paramiko 4.0.0+, NoValidConnectionsError moved from paramiko to paramiko.ssh_exception. Use try/except import pattern to support both paramiko 3.x and 4.x versions.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/devnullvoid/mcp-ssh-session/pull/4 **Author:** [@markng](https://github.com/markng) **Created:** 1/28/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`4d65f5d`](https://github.com/devnullvoid/mcp-ssh-session/commit/4d65f5d15e74464e2030d26f15cdd91864417d3a) fix: add paramiko 4.0 compatibility for NoValidConnectionsError ### 📊 Changes **1 file changed** (+7 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `mcp_ssh_session/session_manager.py` (+7 -1) </details> ### 📄 Description In paramiko 4.0.0+, NoValidConnectionsError moved from paramiko to paramiko.ssh_exception. Use try/except import pattern to support both paramiko 3.x and 4.x versions. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 03:44:35 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mcp-ssh-session#5
No description provided.