Skip to content

Prerequisites

For Mac users it is recommended to have brew installed.

To be able to use the packages of the m8ty Framework, it is required to setup Gitlab.

Create first an SSH key for Gitlab.

The next step is to set up the SSH connection for Git.

First we need to install ssh-askpass to be able to connect to the Gitlab repositories.

Terminal window
brew tap theseal/ssh-askpass
brew install ssh-askpass
sudo ln -s /usr/local/bin/ssh-askpass /usr/X11R6/bin/ssh-askpass

Then setup your SSH config:

Terminal window
nano ~/.ssh/config

and add the following:

Host gitlab.m8ty.eu
HostName gitlab.m8ty.eu
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_gitlab

If your private key has another name, please change it!