WinCryptSSHAgent icon indicating copy to clipboard operation
WinCryptSSHAgent copied to clipboard

open \\.\pipe.openssh-ssh-agant:Access is denied

Open 2944721178 opened this issue 2 years ago • 8 comments

image 我一直在报这个错误 image 该服务也处于禁用状态 点击github下载的WinSryptSSHAgent,任务管理器会有该进程,但会出现那个报错,结束进程后重新启动仍然无效

2944721178 avatar Apr 07 '23 05:04 2944721178

same issue

fredzhu avatar May 27 '23 03:05 fredzhu

getting same error.

image

image

airtonix avatar Aug 29 '23 07:08 airtonix

检查一下是不是有其他agent也在运行, 我才发现1password也有ssh-agent, 会导致这个用不了

Check if there are other agents running, I just found out that 1password also has ssh-agent, which causes this one to not work.

simonkimi avatar Aug 29 '23 09:08 simonkimi

Check if there are other agents running, I just found out that 1password also has ssh-agent, which causes this one to not work.

@simonkimi how did you do this?

airtonix avatar Sep 01 '23 01:09 airtonix

Check if there are other agents running, I just found out that 1password also has ssh-agent, which causes this one to not work.

@simonkimi how did you do this?

@airtonix

  1. Download Process Explorer

  2. Toolbar > Find > Find Handle or DLL or press ctrl + shift + F 图片

  3. Search \Device\NamedPipe\ and wait for a while, You will find which process is occupied openssh-ssh-agant 图片

simonkimi avatar Sep 01 '23 02:09 simonkimi

Ok I get a bunch of results, but none of them list \Device\NamedPipe\openssh-ssh-agent

edit:

ok i had to run process explorer as administrator.

turns out my instance of \Device\NamedPipe\openssh-ssh-agent was the one in my screenshot above ☝🏻 😅

so killing that and restarting wincrypt i no longer get the startup error.

but i still cant get this working in wsl :<

airtonix avatar Sep 04 '23 23:09 airtonix

This error also seems to occur when multiple users are trying to run WinCryptSSHAgent. eg. User 1 logs in and runs the program. User 2 logs in later and runs the program while it is still running on user1's account on the same machine. The Program still works but the error message gets displayed. Should I open a separate issue for this?

MaKraMc avatar Jan 16 '24 07:01 MaKraMc