Skip to content
This repository was archived by the owner on Aug 21, 2023. It is now read-only.
This repository was archived by the owner on Aug 21, 2023. It is now read-only.

Unrecognized private key file #23

@waghanza

Description

@waghanza

Hi @datanoise,

Using

  • Crystal 0.26.1
  • LLVM 4
  • OpenSSH 7.8p1
  • OpenSSL 1.1.0i

I have this message

Unhandled exception: ERR -16: Unable to extract public key from private key file: Wrong passphrase or invalid/unrecognized private key file format (SSH2::SessionError)
  from ???
  from /usr/share/crystal/src/gc/boehm.cr:71:5 in '__crystal_main'
  from /usr/share/crystal/src/crystal/main.cr:47:14 in 'main'
  from __libc_start_main
  from _start
  from ???

when using session.login_with_pubkey

but it works (same code) with

  • Crystal 0.26.1
  • LLVM 4
  • OpenSSH 7.5p1
  • OpenSSL 1.1.0h

Regards,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions