Skip to content

git clone via ssh will hold #5498

@haytoo1

Description

@haytoo1
  • Gitea version (or commit ref): 1.6.0
  • Git version: 1.8.3.1
  • Operating system: centos 7.5 (kernel 3.10.0-862.el7.x86_64)
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

git clone via ssh does not work. via http is ok.
First of all, it's fine to use your docker image,
But I download the binary file run does not work.

i run gitea use git user,
/home/git/.ssh/authorized_keys have no duplicate key, permission is 600,

this is app.ini:

RUN_USER = git
RUN_MODE = prod


[server]
START_SSH_SERVER = true
SSH_DOMAIN       = git.tooto.cc
DOMAIN           = git.tooto.cc
HTTP_PORT        = 3000
ROOT_URL         = http://git.tooto.cc/
DISABLE_SSH      = false
SSH_PORT         = 10022
LFS_START_SERVER = true
LFS_CONTENT_PATH = /home/git/gitea/data/lfs
LFS_JWT_SECRET   = ******
OFFLINE_MODE     = false

the three screenshots are the packets I grabbed with tcpdump when I executed 'git cloning *****'
...

Screenshots

1
2
3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions