The template repo can help to generate an SSH key when you don't want to do it by commandline.
- Use the template to create a repo, better as a private repo for secrity
- Go to
Actions
top menu page, follow the steps as below:
- After one minute or two, you'll see two files,
private_key.txt
andpublic_key.txt
, are added/updated in repo's root direcotory when the action finished successfully - Open each file and click
Copy raw contents
button on the top right to copy the key
Done!