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
Thanks for the reply Hugo, but I don't get why you say that both cases differ in :strict-host-key-checking, they both set it to :no? Furthermore, the ssh-agent function does take a :known-hosts-path, setting it to "~/.ssh/known_hosts" by default when not provided, irrespective of whether a system-agent is used or not?
Anyway, I can't get the non-system ssh-agent to work, not even when leaving out the strict-host-key-checking and/or the :known-hosts-path. Any ideas?
JSchException USERAUTH fail typically means the password is incorrect. Does your key have a password? It might make sense that the version of your code using the system ssh-agent works since it can provide the key without prompting the user for the password.
Not sure if this is a bug or just something missing from the documentation, but when I do
things work fine, whereas when I do
I get
(The private and public key paths provided are the same as used by the system ssh-agent)
The text was updated successfully, but these errors were encountered: