Skip to content
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

libpam-google-authenticator. Couldn't authorize with gradle pugin #42

Open
vasilypodguzov opened this issue Feb 28, 2023 · 0 comments
Open

Comments

@vasilypodguzov
Copy link

I'm trying to log in to the SSH host using the user, private key and google authenticator, via Gradle plugin: 'org.hidetake.ssh' but I get error:

com.jcraft.jsch.JSchException: Auth cancel for methods 'keyboard-interactive'

At the same time, I can connect to the server through a regular ssh client and it asks for an otp code that I enter and go to the server.

remotes.create('preprod') {
host = '10.10.10.10'//todo old IP
user = 'test'
identity = file(adminKeyPath)
knownHosts = allowAnyHosts
}
I expect that the script will request an otp code in VSCode for authorization on the server. Is that possible? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant