docs
docs copied to clipboard
Provide detailed instructions on how to check for `ssh-agent` on Windows with OpenSSH
Code of Conduct
- [X] I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
Description | Link |
---|---|
Source article | https://docs.github.com/en/authentication/troubleshooting-ssh/error-permission-denied-publickey |
Nearest ancestral anchor point | …#make-sure-you-have-a-key-that-is-being-used |
Specific part | …If you are using Git Bash, turn on ssh-agent:… |
Screenshot of entire page using Edge Web Capture
What changes are you suggesting?
When OpenSSH is installed using the Settings (Window 10 build 1809 and later; or Windows Server 2019), the ssh-agent
runs as a background system service rather than returning a stringified batch script that needs to be eval
'd.
See also 2019 update to top answer on "How to run ssh-add on windows?"
This means that the status quo instructions promoting either eval $(ssh-agent -s)
or eval "$(ssh-agent -s)"
will not work for some users, but will also not provide useful output. For me, either above command does nothing in PowerShell or cmd.
Additional information
A succinct emendation is to recommend Get-Service -Name ssh-agent | Get-Process
in a PowerShell host to find the ssh-agent
process ID.
A more detailed suggestion is to walk the reader through scrupulously determining what is providing ssh-agent
, if anything.
edited by maintainer.
Content Plan
Here is the writer's review for this issue.
Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.
@mavaddat Thanks so much for opening a PR! I'll get this triaged for review :zap:
Tweaker tweaker 1 9erOn Oct 8, 2021 2:58 PM, "welcome[bot]" @.***> wrote: Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.
Hi @mavaddat, thanks for letting us know about this! We can't provide detailed instructions for every possible environment in this article, but we can rewrite the step so that it's clear that you need to start the ssh-agent
and that this command will do so in most cases, but that you may need to consult the relevant documentation for your environment if not. You or anyone else is welcome to create a PR doing so!
facebook.com/SamiChyBD
facebook.com/SamiChyBD
Hi! Im participating in Hacktoberfest and I'd like to know if this issue is counted in Hacktoberfest and if I can work on it?
👋 @Anika-Roy - Feel free to work on any of our help wanted issues for Hacktoberfest! 🎃
[maintainer edit to remove spammy content]
wave @Anika-Roy - Feel free to work on any of our help wanted issues for Hacktoberfest! jack_o_lantern
https://github.com/github/docs/issues/10967#comment-1319748668
@mavaddat
i want to work on this issues please assign me this issues
👋 @Antanukumar - You or anyone else are welcome to submit a PR for this issue 👍
Let me work on this @mavaddat
@ashutosh887 You or anyone else are welcome to work on this ⚡
hi , please let me work on this as it my first go on docks @mavaddat
@belindabithell You, or anyone else, are welcome to work on this issue ⚡
Please take a look at our help wanted section to find additional open issues you can work on.
Can you please do me a favor? As I am a beginner, I understand everything, but I am not able to distinguish what to do. Could you please explain to me what I need to do or provide me with any references that I can read and understand.
hi I am a beginner as well and i feel very lost . I am trying to teach myself but at times like today ...i am not sure where to start .I think we are in the same boat . please help me as well, if you can.
On Sun, Jun 25, 2023 at 6:07 PM ArjunSingh @.***> wrote:
Can you please do me a favor? As I am a beginner, I understand everything, but I am not able to distinguish what to do. Could you please explain to me what I need to do or provide me with any references that I can read and understand.
— Reply to this email directly, view it on GitHub https://github.com/github/docs/issues/10967#issuecomment-1606165020, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7NNVGSU3VJ7H5UMCI63BSTXNBV53ANCNFSM5FUJZHDA . You are receiving this because you were mentioned.Message ID: @.***>
@ashutosh887 You or anyone else are welcome to work on this ⚡
@cmwilson21 Is there a public channel to discuss with the team regarding my approach/any difficulty
@ashutosh887 You can seek help or discuss your efforts on the discussions forum: https://github.com/github/docs/discussions
Note that the purpose of GitHub Issues is to notify the developers of problems with their product or project. If you're seeking advice for how to implement a solution or learn how to accomplish a task, that's not typically what GitHub issues is intended to address. You may also try posting your question on a site like Stackoverflow, Quora or Reddit r/learnprogramming.
I completely agree to you @mavaddat Will surely check them soon
👋 Hey @ashutosh887, @mavaddat is correct! You can also begin your PR, submit it (could also submit as a draft if you prefer), and ask any questions in your PR. A lot of questions get answered during the review process. 👍