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

Add SSH_AGENT option to change ssh-agent per identity #54

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kgraefe
Copy link

@kgraefe kgraefe commented Jun 26, 2019

My use-case is that when using Cygwin on Windows I want my "main" identity to be added to PuTTY's Pageant so that I can use it with PuTTY, WinSCP and friends. This is achieved by using ssh-pageant from Cygwin rather than ssh-agent which is the OpenSSH one.

Now the Pageant is implemented in a way that does not allow it to run multiple agents at the same time. Hence, I need to use the OpenSSH agent for the other identities.

@maddes-b
Copy link

maddes-b commented Jan 23, 2021

Hi kgraefe,

is that ssh-pageant Cygwin package compatible to OpenSSH's ssh-agent/ssh-add?
Then I would like to implement this in my fork at https://github.com/maddes-b/ssh-ident

P.S.: Your latest PR for this is #54

@maddes-b
Copy link

Side note: When using a Plink/Pageant from Putty on Windows then you can use the renamed host approach from the git FAQ.
See also my post at superuser.com: https://superuser.com/a/1616186/557798

@kgraefe
Copy link
Author

kgraefe commented Jan 25, 2021

Yes, ssh-pageant is a drop-in replacement for ssh-agent.

@maddes-b
Copy link

Created a feature branch at https://github.com/maddes-b/ssh-ident/tree/feature-ssh-agent-per-identity
Used configuration name SSH_AGENTS as my implementation differs a little bit.
Can you have a look if this would fir your needs too?

@kgraefe
Copy link
Author

kgraefe commented Jan 25, 2021

No thanks. I use my own fork which works quite well for me.

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