-
-
Notifications
You must be signed in to change notification settings - Fork 108
Windows下无法使用IdentityAgent
登录
#123
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
Comments
Warning: forward to agent [C:\Users\lifei\AppData\Local\Temp.ssh-agent.sock] failed: open C:\Users\lifei\AppData\Local\Temp.ssh-agent.sock: The process cannot access the file because it is being used by another process. |
Windows 用 named pipe 的,一般不需要配置 IdentityAgent ,会默认连接 |
使用的 |
测了下 |
putty 的 pageant ?只要打开它,不要配置 IdentityAgent,自动就会连上它,你可以加 --debug 参数确认。 |
debug: dial ssh agent [C:/Users/lifei/AppData/Local/Temp/ssh-STmq6S4ntPtr/agent.996] failed: The parameter is incorrect. |
不配OK…… |
优先使用 ssh-agent,要关了它,才会尝试 pageant,不要配置任何 IdentityAgent。 |
Windows 一般不需要配置
|
发现 Windows 也是支持 unix socket 的: https://devblogs.microsoft.com/commandline/af_unix-comes-to-windows/ https://go-review.googlesource.com/c/sys/+/132555 我在下个版本支持一下,不过要求 ssh agent 自身要正确监听对应的 unix socket 。 |
ssh_config
行为
The text was updated successfully, but these errors were encountered: