From 9900c04924222c1606a0ad6fba504d429a6a69b7 Mon Sep 17 00:00:00 2001 From: Joseph Timothy Foley Date: Mon, 22 Jun 2026 14:04:15 +0000 Subject: [PATCH] Added partial procedure for gitea's ssh --- ssh/gitea-ssh-setup.md | 13 +++++++++++++ ssh/index.md | 2 ++ 2 files changed, 15 insertions(+) diff --git a/ssh/gitea-ssh-setup.md b/ssh/gitea-ssh-setup.md index b530c47..8ce50d1 100644 --- a/ssh/gitea-ssh-setup.md +++ b/ssh/gitea-ssh-setup.md @@ -1,5 +1,18 @@ # Gitea ssh setup +This guide assumes you have registered and verified your account with an @RU.IS email address. If you have not setup your account yet, you must do that first. +The gitea server at RU is on port 2222. *It does not respond on the usual port 22* + +- (Gitea Documentation)[https://docs.gitea.com/] + +# Installing ssh keys into Gitea +1. If you don't have an ssh key, generate one now following the guide on the (main ssh page)[index.md] +1. Login to gitea.cs.ru.is +1. Click on your user Icon on the top right and choose "Settings" in the dropdown +1. On the Left, click on "SSH / GPG Keys" +1. copy the contents of `~/.ssh/id_ed25519.pub` into the text box and click "Add Key". *On windows you can view it in Notepad to cut and paste it*. +1. It will then want you to verify the key by **TODO** +# Testing 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 e76ecad..ca5f17d 100644 --- a/ssh/index.md +++ b/ssh/index.md @@ -1,7 +1,9 @@ # Secure Shell (ssh) Secure Shell is the defacto tool for connecting between devices security in IOT to run commands +- [OpenSSH Documentation](https://www.openssh.org/manual.html) - [Gitea ssh Setup](gitea-ssh-setup.md) +- [GitHub ssh Setup](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent) # Generating a key After installing ssh, we recommend generating an ECDSA (elliptic crypto key)