auth_gitlab
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
auth_gitlab [2019/12/03 15:21] – [Initial setup] apano | auth_gitlab [2020/04/02 11:25] (current) – [Check for an existing SSH key] apano | ||
---|---|---|---|
Line 21: | Line 21: | ||
The steps for pushing and pulling via SSH Key | The steps for pushing and pulling via SSH Key | ||
- | * Step 1: [[auth:gitlab# | + | * Step 1: [[auth_gitlab# |
- | * Step 2: [[auth:gitlab# | + | * Step 2: [[auth_gitlab# |
- | * Step 3: [[auth:gitlab# | + | * Step 3: [[auth_gitlab# |
===== Identify or create the SSH key ===== | ===== Identify or create the SSH key ===== | ||
Line 31: | Line 31: | ||
==== Check for an existing SSH key ==== | ==== Check for an existing SSH key ==== | ||
- | If you already have an SSH key you will probably find it here: | + | If you already have an SSH key in your computer |
Linux/macOS : ~/ | Linux/macOS : ~/ | ||
Line 46: | Line 46: | ||
< | < | ||
- | You can check your e-mail on your Gitlab Profile -> Main Settings -> Email | + | You can check your e-mail on your [[https:// |
When you are asked for a location and file name you can either keep the default location or choose a new one. If this is your only key we advice you accept the defaults and maintain the file name id_rsa. Should you have several keys you can name them according to your own preferences. [[https:// | When you are asked for a location and file name you can either keep the default location or choose a new one. If this is your only key we advice you accept the defaults and maintain the file name id_rsa. Should you have several keys you can name them according to your own preferences. [[https:// | ||
Line 60: | Line 60: | ||
===== Add an SSH key ===== | ===== Add an SSH key ===== | ||
- | Login to Gitlab and go in your profile | + | Login to Gitlab and go [[https:// |
In the field Key copy the contents of the file: id_rsa.pub (or any other file containing your key). | In the field Key copy the contents of the file: id_rsa.pub (or any other file containing your key). | ||
Line 88: | Line 88: | ||
| | ||
user your_username | user your_username | ||
- | | + | |
</ | </ | ||
Line 95: | Line 95: | ||
Host gitlab.inf.unibz.it | Host gitlab.inf.unibz.it | ||
| | ||
- | | + | |
</ | </ | ||
/data/www/wiki.inf.unibz.it/data/pages/auth_gitlab.txt · Last modified: 2020/04/02 11:25 by apano