OMV - cannot import SSH key

  • I am struggling to import my SSH key to OMV under System -> Certificates -> SSH. I plan to use the SSH key for rsync access to a remote server (and not for an OMV login). When adding the private key i get an error saying


    Code
    privatekey: The value '-----BEGIN OPENSSH PRIVATE KEY-----
    (key contents)
    -----END OPENSSH PRIVATE KEY-----
    ' is not a SSH private key (RSA).

    the error message is technically true because the key i am trying to import is indeed not an RSA SSH private key but an EdDSA one.


    I see support for EdDSA private keys has been added in https://github.com/openmediavault/openmediavault/issues/1127. But what about private keys?


    edit: i get the same error when trying to import an rsa key. some additional info from the error message:


    HP Proliant Microserver Gen8, E3-1265Lv2, 16 GB ECC RAM, 3x WD RED 3TB + 1x WD RED 4TB + Crucial MX300 525 GB SSD.

    Powered by Proxmox VE

    Edited once, last by molnart ().

    • New
    • Official Post

    The private key form field clearly tells The private RSA key in X.509 PEM format., and only that is supported by the backend.


    ed25519 SSH key support has been added ONLY for public keys only that can be entered in the user properties.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!