- Published on
DBeaver Invalid Private Key
private key genereated by ssh-keygen starts with
-----BEGIN OPENSSH PRIVATE KEY-----
and not
-----BEGIN RSA PRIVATE KEY-----
and this is not supported by DBeaver.
To generated supported key add -m PEM to the end of your ssh-keygen command
e.g.
ssh-keygen -t rsa -b 2048 -m PEM
Run this on your key to convert it to RSA private key.
ssh-keygen -p -m PEM -f ~/.ssh/id_rsa