Gitea setup complete. Pictures for gitea-ssh

This commit is contained in:
2026-06-22 14:53:00 +00:00
parent 26575e8bd6
commit ceeabdd068
5 changed files with 43 additions and 2 deletions
+4 -1
View File
@@ -27,6 +27,9 @@ Gitea is a GitHub/GitLab clone written in Go.
- Owner: Either yourself or an organization you are a member of - Owner: Either yourself or an organization you are a member of
- Repository Name: something short with US alphabet, numbers, and dashes or underscores. *Avoid accented and letters outside of the 26 a-z* - Repository Name: something short with US alphabet, numbers, and dashes or underscores. *Avoid accented and letters outside of the 26 a-z*
- Visibility: check this box to keep it private. In general, make things private unless you are really sure you want search engines, AI LLM scrapers, and random people to look at it. - Visibility: check this box to keep it private. In general, make things private unless you are really sure you want search engines, AI LLM scrapers, and random people to look at it.
- Description: Explain what this is about so that people know quickly if it relates to what they need. This is also the most easily searched.
- Issue Labels: Default (unless you are working on a project with a complicated management/approval process) - Issue Labels: Default (unless you are working on a project with a complicated management/approval process)
- License: Skip this if private. If not, read the quick overview on licenses at https://choosealicense.com/ - License: Skip this if private. If not, read the quick overview on licenses at https://choosealicense.com/
- README: The default is a nice place to start. If you haven't already setup a git workspace/repository on your computer, I recommend checking "Initialize Repository (Adds .gitignore, License, and README)" so that the repository starts with some useful files.
- Default Branch: This choice is a bit political in places as explained in a [2020 article at the software freedom conservancy](https://sfconservancy.org/news/2020/jun/23/gitbranchname/). The default of "main" is less offensive to certain groups. "master" was the classical name for many years.
-Once you are happy, click "Create Repository"
Binary file not shown.

After

Width:  |  Height:  |  Size: 183 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

+36
View File
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>gitea-ssh-setup.html</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
</head>
<body>
<h1>Gitea ssh setup</h1>
<p>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. <em>It does not respond on the usual port 22</em></p>
<ul>
<li><a href="https://docs.gitea.com/">Gitea Documentation</a></li>
</ul>
<h1>Installing ssh keys into Gitea</h1>
<ol>
<li>If you don't have an ssh key, generate one now following the guide on the (main ssh page)[index.md]</li>
<li>Login to gitea.cs.ru.is</li>
<li>Click on your user Icon on the top right and choose "Settings" in the dropdown</li>
<li>On the Left, click on "SSH / GPG Keys"
<img alt="menu of SSH / GPG Keys" src="Graphics/gitea-ssh-nokeys.png" /></li>
<li>copy the contents of <code>~/.ssh/id_ed25519.pub</code> into the text box and click "Add Key". <em>On windows you can view it in Notepad to cut and paste it</em>.
<img alt="SSH key pasted into the text field" src="Graphics/gitea-ssh-pubkey-paste.png" /></li>
<li>It will then want you to verify the key by <strong>TODO</strong></li>
</ol>
<h1>Testing</h1>
<p>If you have ssh setup properly with gitea, you should be able to test it this way:
<img alt="ssh test result using git user: success" src="Graphics/gitea-cmdline-test-success.png" /></p>
</body>
</html>
+3 -1
View File
@@ -2,14 +2,16 @@
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. 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* The gitea server at RU is on port 2222. *It does not respond on the usual port 22*
- (Gitea Documentation)[https://docs.gitea.com/] - [Gitea Documentation](https://docs.gitea.com/)
# Installing ssh keys into Gitea # 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. 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. Login to gitea.cs.ru.is
1. Click on your user Icon on the top right and choose "Settings" in the dropdown 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. On the Left, click on "SSH / GPG Keys"
![menu of SSH / GPG Keys](Graphics/gitea-ssh-nokeys.png)
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. 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*.
![SSH key pasted into the text field](Graphics/gitea-ssh-pubkey-paste.png)
1. It will then want you to verify the key by **TODO** 1. It will then want you to verify the key by **TODO**