Last modified by Alexandru Pentilescu on 2024/07/16 22:44

From version 11.1
edited by Alexandru Pentilescu
on 2024/07/16 21:54
Change comment: Upload new image "2.png", version 1.1
To version 13.1
edited by Alexandru Pentilescu
on 2024/07/16 21:59
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -187,4 +187,15 @@
187 187  
188 188  For each user, on each device, that will require SSH git access to the aforementioned git server, they will need to have their own public/private authentication keypair set under a Gitea user that's already registered on the Gitea web portal.
189 189  
190 +Check to see if a public/private keypair doesn't already exist under your user's /home/<username>/.ssh/ directory. You'll recognize already existent keypairs by the presence, in this directory, of <name>.pub files. If you already have at least one such file already there, copy the contents of the <name>.pub file to the clipboard and add it to your Gitea user's settings. In case there is no such .pub file already existent, you'll have to manually generate ones for yourself.
190 190  
192 +To do so, simply log into each user and run from the terminal:
193 +
194 +{{code language="bash"}}
195 +ssh-keygen
196 +{{/code}}
197 +
198 +That's pretty much it. Once you generated a keypair, again, visit the /home/<username>/.ssh/ directory and check for <name>.pub files. There should be at least one there, now.
199 +
200 +Copy its contents and add it to your Gitea's user settings through the web interface, as follows:
201 +[[image:1.png]][[image:2.png]][[image:3.png]]
1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AlexandruPentilescu
Size
... ... @@ -1,0 +1,1 @@
1 +285.4 KB
Content