The auth! method tries a few different approaches for authenticating, the second of which is via an ssh-agent. If the agent is found but not able to authenticate, that exception is caught so it can move on to trying other authentication methods. However if no agent is found, that exception is not caught, meaning we return early without trying subsequent methods.
This PR adds a catch for the agent-not-found exception as well so we move on to other auth methods, which should resolve #547.
The
auth!
method tries a few different approaches for authenticating, the second of which is via an ssh-agent. If the agent is found but not able to authenticate, that exception is caught so it can move on to trying other authentication methods. However if no agent is found, that exception is not caught, meaning we return early without trying subsequent methods.This PR adds a catch for the agent-not-found exception as well so we move on to other auth methods, which should resolve #547.