I'm having trouble resolving a "Failed to parse SSH private key." error when trying to connect Dataform with GitHub.
Here’s what I’ve tried so far:
I generated a private key using:
ssh-keygen -t rsa -b 4096 -m PEM -f ~/.ssh/xxx
When I pasted the private key including the header (-----BEGIN RSA PRIVATE KEY-----) and footer (-----END RSA PRIVATE KEY-----) into the Dataform UI, I got the following error
"Illegal base64 character 2d"
I then referred to this article:
https://www.googlecloudcommunity.com/gc/Data-Analytics/Dataform-quot-Illegal-base64-character-2d-quo...
and tried removing the header/footer and pasting only the Base64-encoded body.
However, that resulted in
"Failed to parse SSH private key."
According to ChatGPT, I should be able to fix the "Failed to parse SSH private key." error by including the header/footer and pasting the full private key,but doing so leads to the original "Illegal base64 character 2d error instead."
What is the correct way to register a private key in Dataform for GitHub SSH integration?
Any advice would be greatly appreciated.