Skip to content

git issue in push/pull in a repo - with /bin/ssh #179

@HarithaIBM

Description

@HarithaIBM

An internal user has reported an issue with git. the details are :

I am having issues with push/pull over ssh, a bit over my head, do you recognize the symptom?

add/commit/show/log were all OK.

$ git push
fatal: protocol error: bad line length character: ���

 $ git push 2>&1 |od -t a
0000000000     f   a   t   a   l   :  sp   p   r   o   t   o   c   o   l  sp
0000000020     e   r   r   o   r   :  sp   b   a   d  sp   l   i   n   e  sp
0000000040     l   e   n   g   t   h  sp   c   h   a   r   a   c   t   e   r
0000000060     :  sp   p   q   r etx  lf(edited)
[1:48 AM]$ set|egrep '(BPX|_CEE_RUNOPTS|TAG)'
_BPXK_AUTOCVT=ON
_BPX_SHAREAS=YES
_CEE_RUNOPTS='FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)'
_TAG_REDIR_ERR=txt
_TAG_REDIR_IN=txt
_TAG_REDIR_OUT=txt[1:49 AM]I think this repo is public and triggers the same on clone:

$ git remote -v
origin	git@github.ibm.com:ihs-team/ihsbldtst.git (fetch)
origin	git@github.ibm.com:ihs-team/ihsbldtst.git (push)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions