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

SSH authentication fails when using Ed25519 + passphrase #427

Closed
davidleeuk opened this issue Jun 11, 2018 · 1 comment
Closed

SSH authentication fails when using Ed25519 + passphrase #427

davidleeuk opened this issue Jun 11, 2018 · 1 comment

Comments

@davidleeuk
Copy link

To replicate:

  1. Generate a key using ssh-keygen -t ed25519
  2. When prompted, specify a passphrase
  3. Call ssh.authPublickey(username, privateKeyFilePath, passphrase)

Throws "exhausted available authentication methods":

Client identity string: SSH-2.0-SSHJ_0.24.0
Server identity string: SSH-2.0-OpenSSH_7.5p1 Ubuntu-10ubuntu0.1
Keypair is encrypted with: aes256-ctr, bcrypt, ►^ ??KW☻9←?P♦???? ►
Exhausted available authentication methods

I've checked the same works with Ed25519 keys with no passphrase applied; the combination of Ed25519+passphrase appears to be unsupported. Any advice please?

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

2 participants