linux - Password for GitLab -


I have installed GitLab.

The instructions state for adding "git" to the user

  adduser --system --shell / sbin / nologin --comment 'GitLab' --create-home - I was then looking forward to all the work I added a project to the GitLab server, and she instructed me to push it:    
  cd current_git_repo git Remote add-origin git@mysite.com: root / bidjunction.git git push -u original master   

Then I reach my client's GIT server was to. [Michael @ Deverserve Bidding] $ git push -u origin master host 'authenticity of mysite.com' (123.456.789.01) can not be installed 'RSA's fingerprint CD: 32: 3 C: 5A: 4A: 33: 44: 11: DF: EE: 3S: 4B: 3A: C2: A4: C2 Are you sure you want to continue connecting (yes / no)? Yes Warning: 'mysite.com, 123.456.789.01' (RSA) has been added permanently in the list of known hosts. Find maps at 1236056.789.01 at Ve6.phpwebhosting.com, but do not look back at this address - Possible BREAK- these ATTEMPT! Password for git@mysite.com:

Should I have a password set? Probably not, and do not know the instructions.

Reading, it seems that it can be related to SSH.

GitLab provides the following instructions for adding an SSH key I followed them, and first added the key to my normal user's home on the server. no change. Then tried logging on the root, and added a key to GIT's house. Still no one, but I'm thinking that the customer is already the key of my general user, thus the new GIT key is not pulling.

Edit. Please confirm that I should add these keys to the GitLab server, and not to my Linux client.

Any and all help will be greatly appreciated. SSH Keys SSH key allows you to establish a secure connection between your computer and GITLAB, before generating the SSH key, check that your system already has a cat / / If you run ss / id_rsa.pub if you can skip the ssh-rsa or ssh-dsa, then just open your terminal and use the code below to create a new SSH key. The Ssh-keygen command prompts you for the location and file name for a keyboard and password. When prompted for the location and file name, you can press Enter to use the default. This is a best practice to use a password for an SSH key but it is not necessary and you can create a password by pressing Enter. Note that the password you choose can not be changed or retrieved. ssh-keygen -t rsa -C "$ your_email" Use the code below to show your public key cat ~ / .ssh / id_rsa.pub in your user profile under the 'SSH' tab under 'My SSH' section Copy-paste key Please copy the full key started with SSH- and finish with your username and host

2 edit

It seems that I was confused , And Gitlab's server id_rsa.pub. It does not make sense! I've fixed it, but now I get this error:

  [Michael @vers32 ~] $ ssh git@mysite.com Address 123.456.789.01 Maps ve6.phpwebhosting.com, But it does not look back at the address - potential BREAK- these ATTEMPT! PTY allocation failed on request channel 0 This account is currently unavailable. Connection off from Mysite.com. [Michael @ devserver ~] $    

It seems that to follow an SELinux permission issue Step for:

  1. Restore-RV / Home / Greet / SSIS / Code>
  2. usermod -s / bin / bash
  3. Edit your home machine user's .ssh / config in such a way:
      mysite.com user gitlab_username hostname mysite.com Favorite Preferences Publickey IdentityFile /home/user/.ssh/id_rsa    

    To connect to gitlab server Please ray ssh -T git @ mysite.com . You should see the message that welcomes you.

    I added it to the installation guide. I am ready with many enhancements. When I release gitlab 6.8, I'll merge it.

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -