Invalid SSH Key



I generated an SSH key on an Ubuntu VM, and am unable to submit it to my resin account, with the error “Invalid Key” when I submit. Generally, the key files have 3 parts, “ssh-rsa”, the key itself, and the user’s email address. I have tried the key alone, and every possible combination of the key with the other two parts to no avail. I was able to get this to work with a key generated on my Macbook, but not on the Ubuntu VM.


Worked around it by adding my ssh key to GitHub and then importing the key from GitHub - just in case anyone else hits this issue.


Hi @dagrooms52 - that sounds weird. It should be the full .pub file that has to be added. How did you generate the key exactly?


I generated the key using the steps outlined in the GitHub SSH key tutorial, this link:
I followed them exactly on my Mac and on the Ubuntu VM.


Hi. We’ve created an issue to investigate the problem and fix as needed, will get back to you as soon as it’s done.


Hi, we have a fix for the issue, which just got deployed.
Thank you for your report! Best, Thodoris


Thanks all of you for the quick responses and fix!


I’m having the same issue. Generated at home on Windows using Windows Bash - worked fine. Generated using Windows Bash at work - says invalid key. Importing from GitHub works fine.