PowerShell / PowerShell/Win32-OpenSSH

How to interact with ssh-agent?

Open
#1,998 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-ssh-agent Investigate Issue-Question
Dominant language
No language data
Stars
8.3k
Forks
819
PR merge metrics
No merged PRs in 30d

Description

Summary of the new feature / enhancement

It is a question-suggestion. I want to use it from git-bash. Right now , the ssh-agent service doesn't listen on any address or exposes SSH_AUTH_SOCK variable. So, git (by git bash) or the associate ssh can't find it. I tried providing it with -a , didn't work.
Tried to make it log using sshd_config, didn't work.

Even in the registry
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\OpenSSH\Agent
it doesn't specify any socket. No handles. Couldn't find a way to work with it!

Proposed technical implementation details (optional)

Many options. Just make it work! (or document it please)

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 ssh-agent behavior from git-bash and inspect how the service, SSH_AUTH_SOCK, the -a option, sshd_config, and the registry entry are expected to interact. Done means either a documented working interaction with git-bash and ssh, or a clearly scoped implementation that enables it.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, git
Domain
authentication, cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.