Open mhearne-usgs opened 4 years ago
I think this is from using a newer version of ssh-keygen
, which uses an OPENSSH format. Adding -m PEM
to the command should use the original format.
ssh-keygen -t rsa -b 4096 -C '<comment>' -f <keyfilename> -m PEM
Doing this:
ssh-keygen -t dsa -b 1024 -C 'Comment describing key' -f <keyfilename>
caused errors in the PDL client like this:
Invalid PEM structure, '-----BEGIN...' missing
Substituting the command:
openssl genrsa -out mykey.pem 4096
instead seemed to solve the problem.
The pdl documentation should be updated to reflect this.
It might also be nice to know why the old way stopped working. :)