Does not read SSH key from SSH agent #17602
-
|
Describe the bug To Reproduce
Expected behavior Desktop (please complete the following information):
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
|
I've been having the same problem on macOS 15.6.1. I use an SSH key stored on a Yubikey that's loaded by the system's SSH agent. It works correctly when using SSH from the terminal and in other applications, but I've been stuck on Cyberduck 9.1.3 for a long time now as it's the last version where this seemed to work correctly. I've tried each release since 9.1.3, but so far this bug has persisted across each new update. I really want to update Cyberduck, but I need it to be able to use the SSH key in my Yubikey when connecting to SFTP bookmarks. I see this issue has been open for a couple months now. Any hope for an update or a resolution? |
Beta Was this translation helpful? Give feedback.
-
|
During the transition from icloud keychain ssh-agent to bitwarden, I probably found the actual cause of this issue. When using icloud as ssh-agent, cyberduck will try to find and utilize the With this config being set, now I can use ssh-agent with bitwarden on version 9.2.4 without problem. you can find more detail about how to set ssh-agent socket on below webpage: So I think the cause of this problem is just cyberduck has ditch the default ssh-agent socket path of icloud keychain, and you can try to avoid this by setting |
Beta Was this translation helpful? Give feedback.
-
Oh man, thank you so much for this info! You're 100% correct! My SSH key is stored on a Yubikey with its OpenPGP implementation and GPGTools for Mac is my SSH agent, so I changed my ~/.ssh/config file to include: Once I added that, I updated to the latest version of Cyberduck and SFTP connection authentication worked just like in Cyberduck version 9.1.3. Again, thank you so much, @OMICRON3069! I guess this issue can be closed since it's not really a bug in Cyberduck? |
Beta Was this translation helpful? Give feedback.
-
|
Documentation can be found in the following tutorials |
Beta Was this translation helpful? Give feedback.
-
|
We have a fix in #17603 to restore the previous support to read the |
Beta Was this translation helpful? Give feedback.
During the transition from icloud keychain ssh-agent to bitwarden, I probably found the actual cause of this issue.
When using icloud as ssh-agent, cyberduck will try to find and utilize the
SSH_AUTH_SOCKby itself, but when using bitwarden, you must explicit set the ssh-agent socket on~/.ssh/config, which is:With this config being set, now I can use ssh-agent with bitwarden on version 9.2.4 without problem.
you can find more detail about how to set ssh-agent socket on below webpage:
https://bitwarden.com/help/ssh-agent/#tab-macos-6VN1DmoAVFvm7…