allow server to connect to forwarded agent from client
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5.8k
- Forks
- 734
- PR merge metrics
- No merged PRs in 30d
Description
It appears that while it is possible for a server to detect that a client has enabled agent forwarding via the auth-agent Session event, there isn't currently a way to connect to & use the forwarded agent. I've been working on a solution to this: Connection needs to support an authAgent method (which can use the already-existing Protocol.openssh_authAgent method) to connect a Channel to the client's forwarded agent, and a new ChannelAgent class that can talk to an agent using a Channel (that is returned from the authAgent callback).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the auth-agent Session event and the existing Protocol.openssh_authAgent method. Trace how Connection and Channel are used for forwarded-agent access, then assess the proposed authAgent callback and ChannelAgent class. Done means a server can connect to and use a client's forwarded agent through a Channel.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100