sshnet / sshnet/SSH.NET

Support forward to unix socket

Open
#238 2 comments 1 reaction 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

OpenSSH supports forwarding to unix sockets: https://lwn.net/Articles/609321/.

For example, a mysql server on remotehost using socket /var/lib/mysql/mysql.sock can be made accessible on the local machine on TCP port 5000:

ssh -L 127.0.0.1:5000:/var/lib/mysql/mysql.sock remotehost

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 the OpenSSH unix-socket forwarding reference linked in the issue and tracing SSH.NET's existing local TCP forwarding entry points. Done means supporting the shown 127.0.0.1:5000 to /var/lib/mysql/mysql.sock forwarding scenario, with coverage for the new behavior.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.