Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unix socket forwarding #795

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

darinkes
Copy link
Collaborator

@darinkes darinkes commented Mar 9, 2021

The branch is based on the "agent_auth" branch, so ignore the first six commits.

This adds Unix-Socket-Forwarding to SSH.NET.

UnixDomainSocketEndPoint is available in .NET since netstandard2.1 and on Windows 10 since 1803.

Still WIP, but functional. Would like to get some feedback on it.

@darinkes darinkes force-pushed the unix_socket_forwarding branch 2 times, most recently from 8ff866b to f17cf7f Compare March 13, 2021 06:50
So you can add your own Key-Classes to SSH.NET

Add ED25519 ctor for just pub key part.
You cant export imported CngKeys. To be able to export
them to agent or Key-Files make the private bits also
accessible.
FEATURE_ECDSA catches netstandard1.3, which doesnt have ECDSA Support.
So enable it for all other netstandard versions.
netstandard2.1 includes Unix-Socket-Support, which can also be used
on Windows OS since 1803.

Add UnixDomainSocketEndPoint Forwarding to Remote and Local Forwardings,
as in OpenSSH.
@kanpov
Copy link

kanpov commented May 9, 2024

Any update on this?

@kanpov
Copy link

kanpov commented May 13, 2024

For now, I just made a hack where curl is executed through ssh and with the --unix-socket option. Not a great solution though

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.

2 participants