auth_gitlab
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
auth_gitlab [2019/12/03 15:15] – [Global configuration] apano | auth_gitlab [2019/12/03 15:27] – [Add an SSH key] apano | ||
---|---|---|---|
Line 15: | Line 15: | ||
You can have different hosts for different Git repositories which you access via specific username/ | You can have different hosts for different Git repositories which you access via specific username/ | ||
+ | |||
+ | You can either clone/ | ||
+ | |||
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 43: | 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 57: | 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). |
/data/www/wiki.inf.unibz.it/data/pages/auth_gitlab.txt · Last modified: 2020/04/02 11:25 by apano