From 4dc57cca64519cce17b69cbf320cbd54ca3627e3 Mon Sep 17 00:00:00 2001 From: Joseph Timothy Foley Date: Mon, 22 Jun 2026 13:04:37 +0000 Subject: [PATCH] generate key, then explain files --- ssh/gitea-ssh-setup.md | 1 + ssh/index.md | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/ssh/gitea-ssh-setup.md b/ssh/gitea-ssh-setup.md index becd6ad..b530c47 100644 --- a/ssh/gitea-ssh-setup.md +++ b/ssh/gitea-ssh-setup.md @@ -1,4 +1,5 @@ # Gitea ssh setup + 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) diff --git a/ssh/index.md b/ssh/index.md index 57b6c25..06d01fa 100644 --- a/ssh/index.md +++ b/ssh/index.md @@ -3,3 +3,15 @@ Secure Shell is the defacto tool for connecting between devices security in IOT - [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 + +