Skip to content

GitLab

  • Menu
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
  • #5323

Closed
Open
Created Oct 12, 2013 by Administrator@rootOwner

I can not clone my local repository via ssh

Created by: kavashige

Anybody help me!

$ git clone [email protected]:kava/dserver.git Cloning into 'dserver'... /usr/local/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in require': cannot load such file -- openssl (LoadError) from /usr/local/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:inrequire' from /home/git/gitlab-shell/lib/gitlab_net.rb:2:in <top (required)>' from /home/git/gitlab-shell/lib/gitlab_shell.rb:3:inrequire_relative' from /home/git/gitlab-shell/lib/gitlab_shell.rb:3:in <top (required)>' from /usr/local/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:inrequire' from /usr/local/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in require' from /home/git/gitlab-shell/bin/gitlab-shell:15:in' fatal: The remote end hung up unexpectedly

I tried to reinstall rvm

$rvm pkg install openssl

I checked /home/git/.ssh/authorized_keys -
everything is OK

it`s my gitlab-shell/config.yml

=# GitLab user. git by default =user: git

=# Url to gitlab instance. Used for api calls. Should end with a slash. =gitlab_url: "http://192.168.1.4:8088/"

=http_settings: =# user: someone =# password: somepass =# ca_file: /etc/ssl/cert.pem =# ca_path: /etc/pki/tls/certs = self_signed_cert: false

=# Repositories path =# REPOS_PATH MUST NOT BE A SYMLINK!!! =repos_path: "/home/git/repositories"

=# File used as authorized_keys for gitlab user =auth_file: "/home/git/.ssh/authorized_keys"

=# Redis settings used for pushing commit notices to gitlab =redis: = bin: /usr/bin/redis-cli = host: 127.0.0.1 = port: 6379 = # socket: /tmp/redis.socket # Only define this if you want to use sockets = namespace: resque:gitlab

=# Log file. =# Default is gitlab-shell.log in the root directory. =# log_file: "/home/git/gitlab-shell/gitlab-shell.log"

=# Log level. INFO by default =log_level: INFO

=# Audit usernames. =# Set to true to see real usernames in the logs instead of key ids, which is easier to follow, but =# incurs an extra API call on every gitlab-shell command. =audit_usernames: false

Assignee
Assign to
Time tracking