alexcrichton / ssh2-rs

Rust bindings for libssh2
https://docs.rs/ssh2
Apache License 2.0
467 stars 142 forks source link

Non standard SSH agent is not working #316

Closed braden-godley closed 1 month ago

braden-godley commented 1 month ago

I have configured my ~/.ssh/config to use the 1Password SSH agent. However, it seems that this doesn't work with libssh2, as I found out in an issue while using gitui: https://github.com/extrawurst/gitui/issues/2216

Is this something that should be fixed with this package? I saw #211 but I wasn't sure (i am a noob) if the conclusion was that libssh2 just doesn't deal with ~/.ssh/config

If this is indeed within the scope of this package, I'd be really happy to see it fixed!

yodaldevoid commented 1 month ago

As stated in #211, ~/.ssh/config is not read by libssh2 (the C library that this Rust library/crate wraps around). If you would like to see this feature added, you will need to take it up with the maintainers of libssh2.