Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #4998

Closed
Open
Created 11 years ago by Administrator@rootOwner
  • New issue

  • Report abuse

  • New issue

  • Report abuse

Unable to clone over ssh in Gitlab 6

Closed

Unable to clone over ssh in Gitlab 6

Created by: johnjelinek

$ tail /var/log/auth.log
Sep  5 12:06:09 gitlab sshd[4575]: Invalid user git from 192.168.70.130
Sep  5 12:06:09 gitlab sshd[4575]: input_userauth_request: invalid user git [preauth]
Sep  5 12:06:18 gitlab sshd[4575]: pam_unix(sshd:auth): check pass; user unknown
Sep  5 12:06:18 gitlab sshd[4575]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=192.168.70.130
Sep  5 12:06:20 gitlab sshd[4575]: Failed password for invalid user git from 192.168.70.130 port 13223 ssh2

Linked issues
0


  • Administrator
    Administrator @root · 11 years ago
    Owner

    Created by: bertjwregeer

    cat /etc/passwd | grep git

    Your SSHD is saying there is no git user.

    By Administrator on 2013-09-09T22:30:58 (imported from GitLab project)

  • Administrator
    Administrator @root · 11 years ago
    Owner

    Created by: johnjelinek

    There is a git user as I followed the directions here, but there is no password established for this user as in the guide.

    # cat /etc/passwd | grep git
    git:x:1000:1000:GitLab,,,:/home/git:/bin/bash

    By Administrator on 2013-09-11T16:08:12 (imported from GitLab project)

  • Administrator
    Administrator @root · 11 years ago
    Owner

    Created by: crazyscience

    BTW, setting a password for the git user isn't the proper solution for this...at least, not if you're running gitolite or gitlab-git. These applications check the SSH key to verify access rights. That's my understanding anyway. I don't want to talk out of place as I'm not a serious dev on this project.

    By Administrator on 2013-09-19T01:41:26 (imported from GitLab project)

  • Administrator
    Administrator @root · 11 years ago
    Owner

    Created by: johnjelinek

    I got this working, I needed to use another port rather than 22 for ssh and create /var/run/sshd.

    By Administrator on 2013-09-25T23:36:53 (imported from GitLab project)

  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
0 Assignees
None
Assign to
Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Due date
None
None
0
Labels
None
Assign labels
  • No matching results
  • Manage project labels
Confidentiality
Not confidential
Not confidential

You are going to turn on confidentiality. Only team members with at least Reporter access will be able to see and leave comments on the issue.

Lock issue
Unlocked
1
1 participant
user avatar
Reference: gpt/large_projects/gitlabhq1#4998

Menu

Projects Groups Snippets
Help