Skip to content

fix: add paramiko 4.0 compatibility for NoValidConnectionsError#4

Open
markng wants to merge 1 commit intodevnullvoid:mainfrom
roaming-panda-llc:main
Open

fix: add paramiko 4.0 compatibility for NoValidConnectionsError#4
markng wants to merge 1 commit intodevnullvoid:mainfrom
roaming-panda-llc:main

Conversation

@markng
Copy link

@markng markng commented Jan 28, 2026

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.

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.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant