sshnet / sshnet/SSH.NET

CreateShellStream results in Failed to open a channel after 10 attempts.

Open
#814 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
4.4k
Forks
993
Avg merge
9d 21h
Merged PRs (30d)
1

Description

My code works when connecting to switches with up to date firmware however ones that are running older encryptions every time i try to createshellstream SSH.NET throws "Failed to open a channel after 10 attempts.", right now upgrading firmware on the switches aren't a possibility so need to work around it...

image

Left gives the channel issue, Right works perfectly fine, any way to fix/workaround this?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with an older-firmware switch and trace the CreateShellStream call through SSH channel opening and retry handling. Done means identifying a compatible workaround or correction for the affected encryption configuration, with the channel opening successfully on the reported devices.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.