Error when starting WinCryptSSHAgent
markfaine opened this issue · 1 comments
markfaine commented
I only just installed it and when I try to start it I see this:
Image is an error dialog that reads:
open C:\ProgramData\chocolately\lib\wincrypt-sshagent\wincrypt-cygwin.sock: Access is denied.
Update: When attempting to "Open as adminstrator" I see the following:
open \\.\pipe\openssh-ssh-agent: Access is denied
markfaine commented
This seems to be working now. The steps I took:
- Give Users full control of C:\ProgramData\chocolatey\lib\wincrypt-sshagent
- WSL .bashrc
if [[ "$(uname -a)" =~ Microsoft ]]; then
SSH_AUTH_SOCK=/mnt/c/ProgramData/chocolatey/lib/wincrypt-sshagent/tools/wincrypt-wsl.sock
export SSH_AUTH_SOCK
fi