mycli icon indicating copy to clipboard operation
mycli copied to clipboard

--ssh-key-filename doesn't support OpenSSH key format

Open meeuw opened this issue 6 years ago • 1 comments

--ssh-key-filename doesn't support OpenSSH key format

It returns the following error message:

ValueError: q must be exactly 160, 224, or 256 bits long

q must be exactly 160, 224, or 256 bits long

As suggested in #772 this can be fixed by converting the SSH key to a supported format:

$ ssh-keygen -p -m PEM -f ~/.ssh/id_rsa.pem

mycli should give a better error message, possibly hint to the above conversion.

meeuw avatar Dec 24 '19 20:12 meeuw

Closing per https://github.com/dbcli/mycli/issues/1464#issuecomment-3852401749 .

rolandwalker avatar Feb 05 '26 09:02 rolandwalker