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
  • #4613

Closed
Open
Created Jul 22, 2013 by Administrator@rootOwner

gitlab-shell problem with public key when using ssh

Created by: ck196

When I add my key by web interface, I see in authorized_keys like: command="/home/git/gitlab-shell/bin/gitlab-shell key-4",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDIPoVnRtjpx5IYQdx5UCZdfSMCC2oqmbw9SviF7E5VmgNoK68900KTITZmMt7IXyjKvaGOVnXNcb2hZnHl2RipQonxal6iHX5Yys33Tq5TRVpnJmnF1LwR8kzXIfirO61r0EMHBiUhYZAu6VvLpJtO82JMNCsojL4j7hTP2gKBLundfQwQUaqFq299DBe2WKyRhIF1n80MWyz5j9RarpwFUSH1GPLqJ+tqavmge+YC1VtZ0CFFaj96uSe475hCfjBP0K0OydgaU9By3xYkbP9V4lRBX6MyF0P4dkwhvUr/BJvh2V1bJUf68ly3TnJ3sfw8xqTf1Zykam6L6QTToFZP user@host But I can't push or clone anything via SSH (HTTP is normal).

When I remove command="/home/git/gitlab-shell/bin/gitlab-shell key-4", It works well.

What is this problem? How can I solve it?

Information: Gitlab 5.4-stable Gitlab-shell: 1.4.0

Assignee
Assign to
Time tracking