Click here to Skip to main content
15,918,516 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I have tried many time to generate SSH key (public and private key) on Windows from command prompt but do not able to generate.

What I have tried:

Restart the PC many times, but not work on single time.

1 solution

If you're using Windows 11, you can use ssh-keygen from the terminal, or in WSL, something like ssh-keygen -t ed25519 -C "". Obviously you would have to choose what type of key you wanted to create here.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900