You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use a key loaded into an ssh-agent for authentication. This is not working. However, the key works when loaded from disk using load_secret_key.
I'm not familiar with russh's code, but I'm hoping to find some time to dig into this issue in the coming weeks. If anyone has any hints about how to debug this, please let me know
I'm trying to use a key loaded into an ssh-agent for authentication. This is not working. However, the key works when loaded from disk using
load_secret_key
.I generated a new RSA key with
ssh-keygen
.Here's the fingerprint of the key:
I've also loaded it into an ssh-agent. The ssh-agent reports the identical fingerprint:
I'm connecting to the ssh-agent like this:
And I'm loading the key from disk like this:
I first try authentication using
authenticate_future
and then fallback toauthenticate_publickey
.Here's what the full code looks like:
And here's the output:
Any suggestions about what's going wrong, or how to debug this?
Version info
I'm using russh e5f1224
The text was updated successfully, but these errors were encountered: