Hi guys,
I would like to add an SSH Key to my account here: balena dashboard
So I used openssl and generated a public key from my private.key but it is not accepted by the form:
-----BEGIN PUBLIC KEY-----
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAxjFRcizk/RA3YmLJf5hF
nSCETFep5irc7byRf3RBZYOohnkG2Oud6LEki/DFTtBZ516RdM4xsUba3cje3a+Z
IwNE3bMlA9TgXMMU+2TEmWumD+2qs0loR2uRGIs8MYE0Hc5C0KvnIBh92nMqmS/8
fYqV7Pahf+75e7B5HuA75nqsr2DEcfxlaghDjdwfQLg2ZfLTVs/pul4s86WfRWBL
1K7TmM9ejNmB1gwE9EWVdznf/OTrGMtnBAwTqcAVeuLyoKIwPu0oc/DRGBGVrzeX
kKP4nM97vXA78xae9wete4++Q5Z66GbVDtWksD1b3OKWEjw87JYCQa5Ataa3T/oL
1A9CRwZo6DMdlAwHnE0pj4uYuQnoCdAjHVSPYaPAYW7KX3lj0T8LJ6mix0MXCeVb
4M3SdW65wmRVLf5DMfj7CcPlJ1Sgb0jX4f/duD+DVRvWX0aWNBpnRtLrNmr49dZO
VRiL9yvwjTDl9lpVkEWfR93COgXJgnFXgxK6zEGkTwNnkYGvpvvuoHuSXdeBsTCu
ry/sDuTziwTGxPkUPHj8o3w2nnr5P99NwNHOixN3uDt8gLh77+hPE/61lYUCXiCf
nbk0ARC8Vr4lhSTMCXbCs6NoI1oPfGwlF3y2ngsJNtauesbfYevQ3oCtLYnO9ZTV
/gdMWangmmr/2zW6OQf9XgcCAwEAAQ==
-----END PUBLIC KEY-----
I’m aware that of the regexp but this is also not working:
ssh-rsa MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAxjFRcizk/RA3YmLJf5hF
nSCETFep5irc7byRf3RBZYOohnkG2Oud6LEki/DFTtBZ516RdM4xsUba3cje3a+Z
IwNE3bMlA9TgXMMU+2TEmWumD+2qs0loR2uRGIs8MYE0Hc5C0KvnIBh92nMqmS/8
fYqV7Pahf+75e7B5HuA75nqsr2DEcfxlaghDjdwfQLg2ZfLTVs/pul4s86WfRWBL
1K7TmM9ejNmB1gwE9EWVdznf/OTrGMtnBAwTqcAVeuLyoKIwPu0oc/DRGBGVrzeX
kKP4nM97vXA78xae9wete4++Q5Z66GbVDtWksD1b3OKWEjw87JYCQa5Ataa3T/oL
1A9CRwZo6DMdlAwHnE0pj4uYuQnoCdAjHVSPYaPAYW7KX3lj0T8LJ6mix0MXCeVb
4M3SdW65wmRVLf5DMfj7CcPlJ1Sgb0jX4f/duD+DVRvWX0aWNBpnRtLrNmr49dZO
VRiL9yvwjTDl9lpVkEWfR93COgXJgnFXgxK6zEGkTwNnkYGvpvvuoHuSXdeBsTCu
ry/sDuTziwTGxPkUPHj8o3w2nnr5P99NwNHOixN3uDt8gLh77+hPE/61lYUCXiCf
nbk0ARC8Vr4lhSTMCXbCs6NoI1oPfGwlF3y2ngsJNtauesbfYevQ3oCtLYnO9ZTV
/gdMWangmmr/2zW6OQf9XgcCAwEAAQ==
The error is the same:
should match pattern "^(ssh-rsa|ssh-dss|ssh-ed25519|ecdsa-sha2-nistp256|ecdsa-sha2-nistp384|ecdsa-sha2-nistp521) [A-Za-z0-9+/=]+( [^ ]+)*$"
So if anyone could get a new public SSH key working I’d be happy to know what format / public key you were using.