auth_gitlab
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
auth_gitlab [2019/06/21 14:32] – created apano | auth_gitlab [2019/12/03 14:43] – [Identify or create the SSH key] apano | ||
---|---|---|---|
Line 3: | Line 3: | ||
Since July 2016 we use [[https:// | Since July 2016 we use [[https:// | ||
- | UNIBZ users have to login to [[https:// | + | UNIBZ users have to login to [[https:// |
- | External users can sign up with their Google, Twitter, | + | External users can sign up with their Google, Github, Twitter, Facebook, Bitbucket or Microsoft |
Here are some instructions on GitLab to ease its use. | Here are some instructions on GitLab to ease its use. | ||
Line 23: | Line 23: | ||
===== Identify or create the SSH key ===== | ===== Identify or create the SSH key ===== | ||
- | If you need support on how to generate the SSH key follow our guide on [[auth:howto: | + | |
+ | You need an SSH key that resides | ||
+ | |||
+ | ==== Check for an existing SSH key ==== | ||
+ | |||
+ | If you already have an SSH key you will probably find it here: | ||
+ | |||
+ | Linux/macOS : ~/ | ||
+ | |||
+ | Windows : %userprofile%\.ssh\id_rsa.pub | ||
+ | |||
+ | |||
+ | Open the file with a text editor and check if it has contents. Typically it starts with ssh-rsa or ssh-ed25519. If it has contents | ||
+ | |||
+ | ==== Generate an SSH key ==== | ||
+ | Open a terminal on Linux or macOS, or Git Bash on Windows and run the command: | ||
+ | < | ||
+ | or | ||
+ | < | ||
+ | |||
+ | You can check your e-mail on your Gitlab Profile -> Main Settings -> Email | ||
+ | |||
+ | 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 choice. [[https:// | ||
+ | |||
+ | You can also use a key generator such as [[http:// | ||
===== Add an SSH key ===== | ===== Add an SSH key ===== |
/data/www/wiki.inf.unibz.it/data/pages/auth_gitlab.txt · Last modified: 2020/04/02 11:25 by apano