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 https://help.github.com/en/articles/connecting-to-github-with-ssh
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 id_rsa.pub. If they do not exist, create your own ssh keys by typing
ssh-keygen -t rsa -b 4096 -C "email@example.com"
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
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 id_rsa.pub
file to the corresponding text box:
Now you can continue with AppHowToGitInEclipseForBeginners