-
Notifications
You must be signed in to change notification settings - Fork 601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Whether mixed password authentication and public key authentication are supported #812
Comments
The SSHClient.auth() method supports the ability to provide multiple types of authentication methods, including password and public key authentication. Apache NiFi has components that implement this approach. The StandardSSHClientProvider class builds a list of |
@Bamboo-devops This should indeed work by configuring multiple auth methods in the right order. SSHJ can then first do password authentication and if that partially succeeds additionally do the Pubkey authentication to fully authenticate the user. |
got it.thanks all。 |
@hierynomus @exceptionfactory |
Can you check whether #820 works for you? |
I have a project that requires both password and public key authentication, please tell me how to achieve it. Is there an example
The text was updated successfully, but these errors were encountered: