generate key, then explain files

This commit is contained in:
2026-06-22 13:04:37 +00:00
parent c3dd151c79
commit 4dc57cca64
2 changed files with 13 additions and 0 deletions
+1
View File
@@ -1,4 +1,5 @@
# Gitea ssh setup # Gitea ssh setup
If you have ssh setup properly with gitea, you should be able to test it this way: If you have ssh setup properly with gitea, you should be able to test it this way:
![ssh test result using git user: success](Graphics/gitea-cmdline-test-success.png) ![ssh test result using git user: success](Graphics/gitea-cmdline-test-success.png)
+12
View File
@@ -3,3 +3,15 @@ Secure Shell is the defacto tool for connecting between devices security in IOT
- [Gitea ssh Setup](gitea-ssh-setup.md) - [Gitea ssh Setup](gitea-ssh-setup.md)
# Generating a key
After installing ssh, we recommend generating an ECDSA (elliptic crypto key)
ssh-keygen -t ECDSA
This will ask for a password to encrypt the private key.
**It is very very important that you save this password somewhere safe but easy to retrieve. If you lose it, you will have to generate a new key pair**
This will put the public and private key in your `.ssh` folder
id_ed25519 # your private key, password protected
id_ed25519.pub # your public key