User Tools

Site Tools


auth:howto:sshkeygitlab

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
auth:howto:sshkeygitlab [2016/06/07 17:38] – [MULTIPLE GIT ACCOUNTS] apanoauth:howto:sshkeygitlab [2016/06/15 10:47] – [SINGLE GIT ACCOUNT] apano
Line 28: Line 28:
  
 ==== SINGLE GIT ACCOUNT ==== ==== SINGLE GIT ACCOUNT ====
-You have to configure your locally installed gitlab to connect using the ssh key. +You have to configure your locally installed gitlab client to connect using the ssh key. 
  
-LINUX/MACOSX Inside a terminal, type the following: +LINUX/MACOSX 
 + 
 +Inside a terminal, type the following:  
 + 
 +<code>
 git config --global user.name "Firstname Lastname" git config --global user.name "Firstname Lastname"
 git config --global user.email "your_email@unibz.it" git config --global user.email "your_email@unibz.it"
 git config --list git config --list
 +</code>
  
 WINDOWS WINDOWS
 +
 Inside your GIT bash command line, type the following:  Inside your GIT bash command line, type the following: 
 +
 +<code>
 git config --global user.name "Firstname Lastname" git config --global user.name "Firstname Lastname"
 git config --global user.email "your_email@unibz.it" git config --global user.email "your_email@unibz.it"
 git config --list git config --list
 +</code>
  
 The last command should show the data you entered and is your gitlab global configuration.  The last command should show the data you entered and is your gitlab global configuration. 
Line 52: Line 61:
  
 Try to checkout repo. Should you experience trouble check the contents of file: .ssh/config. You can manually insert:  Try to checkout repo. Should you experience trouble check the contents of file: .ssh/config. You can manually insert: 
 +<code>
 host gitlabhostname.unibz.it host gitlabhostname.unibz.it
 +</code>
  
  
/data/www/wiki.inf.unibz.it/data/pages/auth/howto/sshkeygitlab.txt · Last modified: 2019/12/03 14:18 by apano