Renato Prado
Renato Prado

Reputation: 4150

Getting unknown key type ed25519-sk on Mac M2 Ventura

When trying to generate a key using:

ssh-keygen -t ed25519-sk -C "my instance key"

I get the following error:

unknown key type ed25519-sk

Anyone know how to solve it?

Upvotes: 0

Views: 1514

Answers (1)

Renato Prado
Renato Prado

Reputation: 4150

I solved it by installing these two libs:

brew install libfido2
brew install openssh

My old openssl version was 9.0 and now it's 9.51. you can check it with ssh -V

After that, I opened a new terminal tab and I was able to generate the key using:

ssh-keygen -t ed25519-sk -C "my ed25519-sk key"

Upvotes: 1

Related Questions