sshnet / sshnet/SSH.NET

Add Support For Custom ChannelType

Open
#467 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

This library already supported Shell/SFTP/SCP/... but I have no idea to use this library to create a custom ssh channel with custom ChannelType.

The 'ChannelType' meaning refer to RFC 4254 5.1: https://tools.ietf.org/html/rfc4254#section-5.1

      byte      SSH_MSG_CHANNEL_OPEN
      string    channel type in US-ASCII only
      uint32    sender channel
      uint32    initial window size
      uint32    maximum packet size
      ....      channel type specific data follows

The 'channel type' is a name, as described in [SSH-ARCH] and
[SSH-NUMBERS], with similar extension mechanisms.

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 reading SSH.NET's existing Shell, SFTP, and SCP channel implementations, then compare their channel-opening behavior with RFC 4254 section 5.1. Determine the API and protocol behavior needed to create a channel with an arbitrary custom ChannelType; the issue is complete when that use case is supported and covered by appropriate tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.