Do You Have git installed?
git usually comes installed on Linux and MacOS computers
Wanna make sure?
MacOs
- Start Spotlight (e.g., by pressing ⌘ + Space)
- Type
terminal and hit the ⏎ key
- In the Terminal, type
git version
Linux
- Hit the Super key (usually the ‘Windows’ key)
- Type
terminal
- In the Terminal, type
git version
If you get a version number as response, git is installed on your computer
Install git
If you got an error message as response to git version, you first have to install it.
To install git, go to
https://git-scm.com/downloads
![]()
Do you Have an SSH Key?
In a Terminal, type:
cd ~
followed by
ls .ssh/
If this does not throw an error but shows at least something like
id_rsa id_rsa.pub
you do have an SSH key. 🥳
Generate an SSH Key (1)
In case you do not have an SSH key, in a Terminal, type:
ssh-keygen
This yields the response:
Generating public/private rsa key pair.
Enter file in which to save the key (/home/testuser/.ssh/id_rsa):
Accept the default by hitting the Return key
Generate an SSH Key (2)
Created directory '/home/testuser/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/testuser/.ssh/id_rsa
Your public key has been saved in /home/testuser/.ssh/id_rsa.pub
The key fingerprint is:
SHA256:<very-long-hash> testuser@mac3
The key's randomart image is:
+---[RSA 3072]----+
| .o o...|
| + ..|
| o+....|
| .. .+*...|
| oS . o++. |
| . E oo. = o= +|
| o .o+.+.A. B.|
| ... oo.+.+o o|
| .. .++.. .o.|
+----[SHA256]-----+
testuser@mac3:~$
Generate an SSH Key (3)
The command
ls ~/.ssh
should now return the files containing the private and the public SSH key:
id_rsa id_rsa.pub