Reputation: 11
GitHub - new SSH key - add SSH key
-> Key field shows "Begins with ... 'ecdsa-sha2-nistp256'...
" but NOT "Begins with 'sk-ecdsa-sha2-nistp256'...
".
-> not able to add my key beginning with 'sk-ecdsa-sha2-nistp256'
-> error: Key is invalid. You must supply a key in OpenSSH public key format
How am I able to add my SSH key using HSK in format sk-ecdsa-sha2-nistp256 ?
And if not yet possible, when will the support for this be added?
Upvotes: 1
Views: 1500
Reputation: 1323045
One possible reason why the key is not accepted is for a GHE (GitHub Enterprise) older than 3.2 (Sept. 2021)
3.2 includes SSH authentication with security keys
SSH authentication using a FIDO2 security key is now supported when you add a
[email protected]
or[email protected]
SSH key to your account.SSH security keys store secret key material on a separate hardware device that requires verification, such as a tap, to operate.
Upvotes: 1