Git Product home page Git Product logo

Comments (3)

mgbowen avatar mgbowen commented on July 17, 2024

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.

Erisa avatar Erisa commented on July 17, 2024

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.

mgbowen avatar mgbowen commented on July 17, 2024

No worries! I amended the README with instructions on using ssh-agent/ssh-add for posterity.

from windows-fido-bridge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.