Git Prepare logins and ssh keys for git usage

To use git comfortably we first have to make our public ssh user key known to Git (more detailed information about using ssh keys for connecting to Git can be found here

Create your own public / private ssh keys

First, go to ~/.ssh/ and check, if you already have an existing pair of ssh keys:
ls -al ~/.ssh

Typically, the ssh keys are named id_rsa and If they do not exist, create your own ssh keys by typing
ssh-keygen -t rsa -b 4096 -C ""

When asked, choose an ssh key password (and remeber it).

When you have an ssh agent running (which is typically the case when loggin in with the graphical userinterface via xdmcp), then you can add your newly created ssh private key to the ssh agent with
ssh-add ~/.ssh/id_rsa

This is optional but highly recommended. It saves you from entering many times your SSH password during the migration step below.

Upload your public key to Gitea

To upload your public ssh key, please add a new key to your Gitea account by copying the contents of your file to the corresponding text box:



Now you can continue with AppHowToGitInEclipseForBeginners
Topic revision: r4 - 13 Apr 2020, JuttaFitzek
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback