This repository was archived by the owner on Sep 28, 2024. It is now read-only.
This repository was archived by the owner on Sep 28, 2024. It is now read-only.
VSCode extension incorrectly reports SSH agent is not running #136
Open
Description
🐛 Bug description
I use the 1Password SSH agent locally for handling all my SSH keys. To use the 1Password SSH agent I have to disable and stop the default SSH agent service. When connecting to a Hocus workspace I get a prompt that my SSH agent is not running.
Source:
hocus/extensions/vscode_ui/src/extension.ts
Line 347 in ca01333
1Password docs: https://developer.1password.com/docs/ssh/get-started/#step-3-turn-on-the-1password-ssh-agent
It may make more sense to check ssh-add -l
on Windows to see if a valid SSH agent is running. Here I run that command with the 1Password SSH agent enabled, and then again after disabling the SSH agent:
PS C:\Users\user> ssh-add -l
256 SHA256:.... SSH Key Name One (ED25519)
256 SHA256:.... SSH Key Name Two (ED25519)
PS C:\Users\user> ssh-add -l
Error connecting to agent: No such file or directory
PS C:\Users\user>
Environment
- Hocus extension: v0.0.8
Metadata
Metadata
Assignees
Labels
No labels