github tufantunc/ssh-mcp v2.0.3

latest releases: v2.26.0, v2.25.1, v2.25.0...
3 months ago

Patch Changes

  • #86 a1f5488 Thanks @tufantunc! - Re-establish the connection when opening a session or exec channel, instead of retrying a dead one.

    Channel opens run under openWithRetry, but the callbacks reached for the SSH
    client directly. openSession checks the link first, so an already-dead
    connection is rebuilt there — the gap is a link that dies after that check,
    while the channel is opening. Every retry then called getClient() on a null
    client and threw the same SSH connection not established, so the retry re-ran a
    dead connection three times and gave up.

    Dropbear drops the whole connection under channel churn rather than refusing the
    individual channel, so it hits this readily; any server that closes connections
    under load can. SftpClient already re-established inside its retry — the
    session and exec paths now do the same.

Don't miss a new ssh-mcp release

NewReleases is sending notifications on new releases.