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
Currently, authentication fails when providing a wrong passphrase to unlock a private key.
However, it only fails at connection time with cryptic message "Failed: Unknown; Exhausted available authentication methods" in the job output.
Toggling verbose logging on says [net.schmizz.ssj.userauth.method.AuthPublickey] Attempting authentication using com.hierynomus.sshj.userauth.keyprovider.OpenSSHKeyV1KeyFile@some-identifier
Maybe prior to that, one of the methods to read the private/public key, such as readDecodedKeyPair() should be called at least once in the initialization process to ensure the key pair can actually be used with the provided passphrase?
And then, log an error in the log output.
Or, file an upstream issue to obtain more helpful messages?
The text was updated successfully, but these errors were encountered:
Currently, authentication fails when providing a wrong passphrase to unlock a private key.
However, it only fails at connection time with cryptic message "Failed: Unknown; Exhausted available authentication methods" in the job output.
Toggling verbose logging on says
[net.schmizz.ssj.userauth.method.AuthPublickey] Attempting authentication using com.hierynomus.sshj.userauth.keyprovider.OpenSSHKeyV1KeyFile@some-identifier
Maybe prior to that, one of the methods to read the private/public key, such as
readDecodedKeyPair()
should be called at least once in the initialization process to ensure the key pair can actually be used with the provided passphrase?And then, log an error in the log output.
Or, file an upstream issue to obtain more helpful messages?
The text was updated successfully, but these errors were encountered: