Skip to content

git push protocol error #130

@thatarchguy

Description

@thatarchguy

I copied the url that gogs gave me for my repo.
git remote add origin git@git.mygiturl.example:nuke/testrepo.git

When I try to push to it, I get this error:
nuke@someserver (~/scripts/testrepo) $: git push --verbose
Pushing to git@git.mygiturl.example:nuke/testrepo.git
fatal: protocol error: bad line length 8208

my auth.log:
Apr 25 23:41:07 testbed sshd[22486]: Accepted publickey for git from 188.226.x.x port 58460 ssh2
Apr 25 23:41:07 testbed sshd[22486]: pam_unix(sshd:session): session opened for user git by (uid=0)
Apr 25 23:41:08 testbed sshd[22491]: Received disconnect from 188.226.x.x: 11: disconnected by user

the gogs log doesn't show anything.

I've tried pushing from multiple machines as well, I just keep getting this error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    💊 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions