Comments (3)
Can you try running ssh-add
with the -S
argument? For example, ssh-add -S /usr/local/lib/libwindowsfidobridge.so
.
Example when running ssh-agent -d
:
mgbowen@<omitted>:/mnt/c/WINDOWS/system32$ ssh-agent -d
SSH_AUTH_SOCK=/tmp/ssh-QMyaOzyWBPsh/agent.15348; export SSH_AUTH_SOCK;
echo Agent pid 15348;
debug2: fd 3 setting O_NONBLOCK
debug2: fd 4 setting O_NONBLOCK
debug1: process_message: socket 1 (fd=4) type 17
debug1: process_add_identity: add ssh-rsa SHA256:<omitted> "mgbowen@<omitted>" (life: 0) (confirm: 0) (provider: none)
debug1: process_message: socket 1 (fd=4) type 25
debug1: process_add_identity: constraint ext [email protected]
debug1: process_add_identity: add [email protected] SHA256:<omitted> "mgbowen@<omitted>" (life: 0) (confirm: 0) (provider: /usr/local/lib/libwindowsfidobridge.so)
debug2: fd 4 setting O_NONBLOCK
debug1: process_message: socket 1 (fd=4) type 11
debug1: process_message: socket 1 (fd=4) type 13
Confirm user presence for key ECDSA-SK SHA256:<omitted>
debug3: start_helper: started pid=15356
debug3: ssh_msg_send: type 5
debug3: ssh_msg_recv entering
debug1: start_helper: starting /usr/lib/openssh/ssh-sk-helper
debug1: ssh-sk-helper: ready to sign with key ECDSA-SK, provider /usr/local/lib/libwindowsfidobridge.so: msg len 249, compat 0x0
debug1: sshsk_sign: provider "/usr/local/lib/libwindowsfidobridge.so", key ECDSA-SK, flags 0x01
debug1: sshsk_open: provider /usr/local/lib/libwindowsfidobridge.so implements version 0x00050000
debug1: ssh-sk-helper: reply len 128
debug3: ssh_msg_send: type 5
debug3: reap_helper: pid=15356
And the corresponding call to ssh-add
:
mgbowen@<omitted>:~$ SSH_AUTH_SOCK=/tmp/ssh-QMyaOzyWBPsh/agent.15348; export SSH_AUTH_SOCK;
mgbowen@<omitted>:~$ ssh-add -S /usr/local/lib/libwindowsfidobridge.so
Identity added: /home/mgbowen/.ssh/id_rsa (mgbowen@<omitted>)
Identity added: /home/mgbowen/.ssh/id_ecdsa_sk (mgbowen@<omitted>)
mgbowen@<omitted>:~$ ssh seattle
mgbowen@seattle:~$
Note that that still prompts me to authenticate with my YubiKey, and I'm not sure if there's any way around that.
from windows-fido-bridge.
Ahah that did it, I didn't realise that ssh-add
needed an argument for the security key provider, perhaps I should have thought of that.
Thank you very much!
from windows-fido-bridge.
No worries! I amended the README with instructions on using ssh-agent
/ssh-add
for posterity.
from windows-fido-bridge.
Related Issues (20)
- signing failed for ECDSA-SK: invalid format HOT 2
- Ed25519 Support HOT 5
- Create a new release HOT 2
- fatal error: span: No such file or directory HOT 4
- Cmake compile options SK_API_VERSION syntax HOT 2
- Resident Keys Support? HOT 7
- Support tunneling over remote desktop
- Windows Hello support HOT 1
- Using the bridge on Windows 11 is slow HOT 3
- FIDO fails when requests to confirm on ssh, but works fine for ssh-keygen HOT 1
- Provider "libwindowsfidobridge.so" dlopen failed: Exec format error HOT 1
- Not being prompted to enter pin to connect to a remote ssh server
- implements unsupported version 0x00070000 (supported: 0x00090000) HOT 11
- Missing dependencies on WSL based on ubuntu HOT 1
- Doesn't work anymore after upgrading WSL to 22.04 HOT 1
- [Feature Request] Support OpenSSH 9.1 HOT 1
- Strip debug data from dll
- Cannot do ssh signing HOT 1
- signing failed for ECDSA-SK - requested feature not supported HOT 1
- Failed to parse attestation object HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windows-fido-bridge.