592 B
592 B
title, description, published, date, tags, editor, dateCreated
| title | description | published | date | tags | editor | dateCreated |
|---|---|---|---|---|---|---|
| Create SSH Keys in Gitea | false | 2025-05-04T11:42:39.943Z | git, public | markdown | 2025-05-04T11:38:34.846Z |
Creating SSH Key
Ideally the following steps are completed on the device and user which you want to allow the connection from, so it will be saved in their ~/.ssh folder.
Run the following commands:
cd ~/.ssh
ssh-keygen -t ed25519 -C "your_email@example.com"
Add Public key to Gitea
cat the contents of the public key and add it into Gitea under Settings > SSH / GPG Keys > Add key.