Skip to main content
Lionel Dyck
Participating Frequently
Dec 27, 2020 11:18 AM UTC
Question

git ssh response not usable

On a test lpar i've got git (2.14) installed and it is failing.  Here is an example:

/u/lbdyck>ssh git@github.com git-receive-pack lbdyck/racfadm.git 
FOTS2273 Warning: Permanently added the RSA host key for IP address '140.82.112.3' to the list of known hosts.
--Â--Ä-Á--/ÀÁÄ-ÃÀ--À---Ã--/-À-Á-Ã-Â---À------ÊÁÃËÇÁ/ÀË_/ËÈÁÊÊÁø?ÊÈ-ËÈ/ÈÍË-ÀÁ%ÁÈÁ-ÊÁÃË-ËÑÀÁ-Â/>À---,-ÉÍÑÁÈ-/È?_ÑÄ
Ê_/È-ËÇ/--/ÅÁ>È-ÅÑÈÅÑÈÇÍÂ-ÅÂ--ÄÄ-Ä-/-ÂÀ----ÄÃÃ-À-Â---Â/--ÁÃÁÀ-/ÁÂ--Á-Â-/Á---ÃÀÀ--Â---ÊÁÃËÈ/ÅË--------Ä-ÄÄ---ÄÄ--

And another example:

/u/lbdyck>git clone git@github.com:lbdyck/pdsegen.git 
Cloning into 'pdsegen'...
fatal: protocol error: bad line length character: ---Á

Can anyone point me to where to fix this?

I'm sure this is something trivial but I can't find the problem.

    13 replies

    Tatiana Balaburkina
    Rocketeer
    Dec 28, 2020 3:43 AM UTC

    On a test lpar i've got git (2.14) installed and it is failing.  Here is an example:

    /u/lbdyck>ssh git@github.com git-receive-pack lbdyck/racfadm.git 
    FOTS2273 Warning: Permanently added the RSA host key for IP address '140.82.112.3' to the list of known hosts.
    --Â--Ä-Á--/ÀÁÄ-ÃÀ--À---Ã--/-À-Á-Ã-Â---À------ÊÁÃËÇÁ/ÀË_/ËÈÁÊÊÁø?ÊÈ-ËÈ/ÈÍË-ÀÁ%ÁÈÁ-ÊÁÃË-ËÑÀÁ-Â/>À---,-ÉÍÑÁÈ-/È?_ÑÄ
    Ê_/È-ËÇ/--/ÅÁ>È-ÅÑÈÅÑÈÇÍÂ-ÅÂ--ÄÄ-Ä-/-ÂÀ----ÄÃÃ-À-Â---Â/--ÁÃÁÀ-/ÁÂ--Á-Â-/Á---ÃÀÀ--Â---ÊÁÃËÈ/ÅË--------Ä-ÄÄ---ÄÄ--

    And another example:

    /u/lbdyck>git clone git@github.com:lbdyck/pdsegen.git 
    Cloning into 'pdsegen'...
    fatal: protocol error: bad line length character: ---Á

    Can anyone point me to where to fix this?

    I'm sure this is something trivial but I can't find the problem.

    Hi Lionel,

    Could you share output of the command "env | sort", please?

    Lionel Dyck
    Participating Frequently
    Dec 28, 2020 7:30 AM UTC

    On a test lpar i've got git (2.14) installed and it is failing.  Here is an example:

    /u/lbdyck>ssh git@github.com git-receive-pack lbdyck/racfadm.git 
    FOTS2273 Warning: Permanently added the RSA host key for IP address '140.82.112.3' to the list of known hosts.
    --Â--Ä-Á--/ÀÁÄ-ÃÀ--À---Ã--/-À-Á-Ã-Â---À------ÊÁÃËÇÁ/ÀË_/ËÈÁÊÊÁø?ÊÈ-ËÈ/ÈÍË-ÀÁ%ÁÈÁ-ÊÁÃË-ËÑÀÁ-Â/>À---,-ÉÍÑÁÈ-/È?_ÑÄ
    Ê_/È-ËÇ/--/ÅÁ>È-ÅÑÈÅÑÈÇÍÂ-ÅÂ--ÄÄ-Ä-/-ÂÀ----ÄÃÃ-À-Â---Â/--ÁÃÁÀ-/ÁÂ--Á-Â-/Á---ÃÀÀ--Â---ÊÁÃËÈ/ÅË--------Ä-ÄÄ---ÄÄ--

    And another example:

    /u/lbdyck>git clone git@github.com:lbdyck/pdsegen.git 
    Cloning into 'pdsegen'...
    fatal: protocol error: bad line length character: ---Á

    Can anyone point me to where to fix this?

    I'm sure this is something trivial but I can't find the problem.

    AOPCONF=/etc/Printsrv/aopd.conf
    BPXWISHTZ=GMT
    CLASSPATH=/usr/lpp/smp/classes:/usr/include/java_classes/ifaedjreg.jar::/usr/lpp/hpj/lib
    COLUMNS=132
    EDITOR=oedit
    GIT_EXEC_PATH=/usr/local/git/libexec/git-core
    GIT_PAGER=more
    GIT_SHELL=/usr/local/git/bin/bash
    GIT_TEMPLATE_DIR=/usr/local/git/share/git-core/templates
    HOME=/u/lbdyck
    IZU_CODE_ROOT=/usr/lpp/zosmf
    JAVA_HOME=/usr/lpp/java/J8.0_64
    LANG=C
    LIBPATH=/usr/local/git/lib/perl5/5.24.0/os390/CORE:/usr/lib/java_runtime:/usr:/usr/lib:/usr/lpp/Printsrv/lib:/lib:/usr/lib:.:/bin:/usr/sbin:/tools/bin::/usr:/usr/local:/usr/lpp/java/J8.0_64/bin:/usr/local/lib::/usr/lpp/java/J8.0_64/bin/classic:.:/usr/lpp/java/J8.0_64:/usr/lpp/smp/classes:
    LINES=23
    LOGNAME=LBDYCK
    MAIL=/usr/mail/LBDYCK
    MANPATH=/usr/lpp/Printsrv/%L:/usr/man/%L:/usr/local/git/man:/usr/local/coz/doc/man
    NLSPATH=/usr/lpp/Printsrv/%L/%N:/usr/lib/nls/msg/%L/%N
    PATH=/usr/local/git/bin:/usr/lpp/zosmf/bin:/usr/lpp/Printsrv/bin:/bin:/usr/sbin:/tools/bin:/usr/lpp/java/J8.0_64/bin:/usr/local/bin:.:/usr/local/coz/bin
    PERL5LIB=/usr/local/git/lib/perl5:
    PS1=$PWD>
    RESOLVER_CONFIG=/etc/resolv
    SHELL=/bin/sh
    STEPLIB=none
    TERM=dumb
    TZ=EST5EDT
    WLP_USR_DIR=/usr/lpp/liberty_zos/19.0.0.9/
    _=/bin/env
    _BPXK_AUTOCVT=ON
    _BPX_SHAREAS=YES
    _BPX_SPAWN_SCRIPT=YES
    _BPX_TERMPATH=OMVS
    _C89_CLIB_PREFIX=CBC
    _C89_INCDIRS=/usr/include /usr/lpp/cbclib/include
    _C89_LIBDIRS=/lib /usr/lib
    _C89_PLIB_PREFIX=CEE
    _C89_SLIB_PREFIX=SYS1
    _C89_WORK_UNIT=3390
    _CC_CLIB_PREFIX=CBC
    _CC_INCDIRS=/usr/include /usr/lpp/cbclib/include
    _CC_LIBDIRS=/lib /usr/lib
    _CC_PLIB_PREFIX=CEE
    _CC_SLIB_PREFIX=SYS1
    _CC_WORK_UNIT=3390
    _CEE_RUNOPTS=FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)
    _CXX_CLIB_PREFIX=CBC
    _CXX_INCDIRS=/usr/include /usr/lpp/cbclib/include
    _CXX_LIBDIRS=/lib /usr/lib
    _CXX_PLIB_PREFIX=CEE
    _CXX_SLIB_PREFIX=SYS1
    _CXX_WORK_UNIT=3390
    _OS390_USTAR=N
    _TAG_REDIR_ERR=txt
    _TAG_REDIR_IN=txt
    _TAG_REDIR_OUT=txt
    Vladimir Ein
    Rocketeer
    Dec 28, 2020 2:16 PM UTC

    On a test lpar i've got git (2.14) installed and it is failing.  Here is an example:

    /u/lbdyck>ssh git@github.com git-receive-pack lbdyck/racfadm.git 
    FOTS2273 Warning: Permanently added the RSA host key for IP address '140.82.112.3' to the list of known hosts.
    --Â--Ä-Á--/ÀÁÄ-ÃÀ--À---Ã--/-À-Á-Ã-Â---À------ÊÁÃËÇÁ/ÀË_/ËÈÁÊÊÁø?ÊÈ-ËÈ/ÈÍË-ÀÁ%ÁÈÁ-ÊÁÃË-ËÑÀÁ-Â/>À---,-ÉÍÑÁÈ-/È?_ÑÄ
    Ê_/È-ËÇ/--/ÅÁ>È-ÅÑÈÅÑÈÇÍÂ-ÅÂ--ÄÄ-Ä-/-ÂÀ----ÄÃÃ-À-Â---Â/--ÁÃÁÀ-/ÁÂ--Á-Â-/Á---ÃÀÀ--Â---ÊÁÃËÈ/ÅË--------Ä-ÄÄ---ÄÄ--

    And another example:

    /u/lbdyck>git clone git@github.com:lbdyck/pdsegen.git 
    Cloning into 'pdsegen'...
    fatal: protocol error: bad line length character: ---Á

    Can anyone point me to where to fix this?

    I'm sure this is something trivial but I can't find the problem.

    Hi Lionel,

    A couple more questions.

    1. Which Git build are you using? What does it display on git --version?

    2. Which terminal are you using - is it TSO OMVS?

    Thanks,
    Vladimir

    Lionel Dyck
    Participating Frequently
    Dec 28, 2020 2:28 PM UTC

    On a test lpar i've got git (2.14) installed and it is failing.  Here is an example:

    /u/lbdyck>ssh git@github.com git-receive-pack lbdyck/racfadm.git 
    FOTS2273 Warning: Permanently added the RSA host key for IP address '140.82.112.3' to the list of known hosts.
    --Â--Ä-Á--/ÀÁÄ-ÃÀ--À---Ã--/-À-Á-Ã-Â---À------ÊÁÃËÇÁ/ÀË_/ËÈÁÊÊÁø?ÊÈ-ËÈ/ÈÍË-ÀÁ%ÁÈÁ-ÊÁÃË-ËÑÀÁ-Â/>À---,-ÉÍÑÁÈ-/È?_ÑÄ
    Ê_/È-ËÇ/--/ÅÁ>È-ÅÑÈÅÑÈÇÍÂ-ÅÂ--ÄÄ-Ä-/-ÂÀ----ÄÃÃ-À-Â---Â/--ÁÃÁÀ-/ÁÂ--Á-Â-/Á---ÃÀÀ--Â---ÊÁÃËÈ/ÅË--------Ä-ÄÄ---ÄÄ--

    And another example:

    /u/lbdyck>git clone git@github.com:lbdyck/pdsegen.git 
    Cloning into 'pdsegen'...
    fatal: protocol error: bad line length character: ---Á

    Can anyone point me to where to fix this?

    I'm sure this is something trivial but I can't find the problem.

    git 2.14

    TSO OMVS

    Vladimir Ein
    Rocketeer
    Dec 29, 2020 2:05 PM UTC

    On a test lpar i've got git (2.14) installed and it is failing.  Here is an example:

    /u/lbdyck>ssh git@github.com git-receive-pack lbdyck/racfadm.git 
    FOTS2273 Warning: Permanently added the RSA host key for IP address '140.82.112.3' to the list of known hosts.
    --Â--Ä-Á--/ÀÁÄ-ÃÀ--À---Ã--/-À-Á-Ã-Â---À------ÊÁÃËÇÁ/ÀË_/ËÈÁÊÊÁø?ÊÈ-ËÈ/ÈÍË-ÀÁ%ÁÈÁ-ÊÁÃË-ËÑÀÁ-Â/>À---,-ÉÍÑÁÈ-/È?_ÑÄ
    Ê_/È-ËÇ/--/ÅÁ>È-ÅÑÈÅÑÈÇÍÂ-ÅÂ--ÄÄ-Ä-/-ÂÀ----ÄÃÃ-À-Â---Â/--ÁÃÁÀ-/ÁÂ--Á-Â-/Á---ÃÀÀ--Â---ÊÁÃËÈ/ÅË--------Ä-ÄÄ---ÄÄ--

    And another example:

    /u/lbdyck>git clone git@github.com:lbdyck/pdsegen.git 
    Cloning into 'pdsegen'...
    fatal: protocol error: bad line length character: ---Á

    Can anyone point me to where to fix this?

    I'm sure this is something trivial but I can't find the problem.

    Hi Lionel,

    We have multiple builds of Git 2.14.4 available at the customer portal - that's why I was asking for the build number. Unfortunately I couldn't recreate your issue with both build 9 and build 11, even under OMVS, /bin/sh, with environment as close to yours as possible, and with a GitHub repo.

    Regards,
    Vladimir

    Lionel Dyck
    Participating Frequently
    Dec 29, 2020 2:19 PM UTC

    On a test lpar i've got git (2.14) installed and it is failing.  Here is an example:

    /u/lbdyck>ssh git@github.com git-receive-pack lbdyck/racfadm.git 
    FOTS2273 Warning: Permanently added the RSA host key for IP address '140.82.112.3' to the list of known hosts.
    --Â--Ä-Á--/ÀÁÄ-ÃÀ--À---Ã--/-À-Á-Ã-Â---À------ÊÁÃËÇÁ/ÀË_/ËÈÁÊÊÁø?ÊÈ-ËÈ/ÈÍË-ÀÁ%ÁÈÁ-ÊÁÃË-ËÑÀÁ-Â/>À---,-ÉÍÑÁÈ-/È?_ÑÄ
    Ê_/È-ËÇ/--/ÅÁ>È-ÅÑÈÅÑÈÇÍÂ-ÅÂ--ÄÄ-Ä-/-ÂÀ----ÄÃÃ-À-Â---Â/--ÁÃÁÀ-/ÁÂ--Á-Â-/Á---ÃÀÀ--Â---ÊÁÃËÈ/ÅË--------Ä-ÄÄ---ÄÄ--

    And another example:

    /u/lbdyck>git clone git@github.com:lbdyck/pdsegen.git 
    Cloning into 'pdsegen'...
    fatal: protocol error: bad line length character: ---Á

    Can anyone point me to where to fix this?

    I'm sure this is something trivial but I can't find the problem.

    The version is git version 2.14.4_zos_b09 

    Lionel Dyck
    Participating Frequently
    Dec 29, 2020 2:21 PM UTC

    On a test lpar i've got git (2.14) installed and it is failing.  Here is an example:

    /u/lbdyck>ssh git@github.com git-receive-pack lbdyck/racfadm.git 
    FOTS2273 Warning: Permanently added the RSA host key for IP address '140.82.112.3' to the list of known hosts.
    --Â--Ä-Á--/ÀÁÄ-ÃÀ--À---Ã--/-À-Á-Ã-Â---À------ÊÁÃËÇÁ/ÀË_/ËÈÁÊÊÁø?ÊÈ-ËÈ/ÈÍË-ÀÁ%ÁÈÁ-ÊÁÃË-ËÑÀÁ-Â/>À---,-ÉÍÑÁÈ-/È?_ÑÄ
    Ê_/È-ËÇ/--/ÅÁ>È-ÅÑÈÅÑÈÇÍÂ-ÅÂ--ÄÄ-Ä-/-ÂÀ----ÄÃÃ-À-Â---Â/--ÁÃÁÀ-/ÁÂ--Á-Â-/Á---ÃÀÀ--Â---ÊÁÃËÈ/ÅË--------Ä-ÄÄ---ÄÄ--

    And another example:

    /u/lbdyck>git clone git@github.com:lbdyck/pdsegen.git 
    Cloning into 'pdsegen'...
    fatal: protocol error: bad line length character: ---Á

    Can anyone point me to where to fix this?

    I'm sure this is something trivial but I can't find the problem.

    can you provide a link for build 11 and I'll try that?

    Vladimir Ein
    Rocketeer
    Dec 29, 2020 2:30 PM UTC

    On a test lpar i've got git (2.14) installed and it is failing.  Here is an example:

    /u/lbdyck>ssh git@github.com git-receive-pack lbdyck/racfadm.git 
    FOTS2273 Warning: Permanently added the RSA host key for IP address '140.82.112.3' to the list of known hosts.
    --Â--Ä-Á--/ÀÁÄ-ÃÀ--À---Ã--/-À-Á-Ã-Â---À------ÊÁÃËÇÁ/ÀË_/ËÈÁÊÊÁø?ÊÈ-ËÈ/ÈÍË-ÀÁ%ÁÈÁ-ÊÁÃË-ËÑÀÁ-Â/>À---,-ÉÍÑÁÈ-/È?_ÑÄ
    Ê_/È-ËÇ/--/ÅÁ>È-ÅÑÈÅÑÈÇÍÂ-ÅÂ--ÄÄ-Ä-/-ÂÀ----ÄÃÃ-À-Â---Â/--ÁÃÁÀ-/ÁÂ--Á-Â-/Á---ÃÀÀ--Â---ÊÁÃËÈ/ÅË--------Ä-ÄÄ---ÄÄ--

    And another example:

    /u/lbdyck>git clone git@github.com:lbdyck/pdsegen.git 
    Cloning into 'pdsegen'...
    fatal: protocol error: bad line length character: ---Á

    Can anyone point me to where to fix this?

    I'm sure this is something trivial but I can't find the problem.

    Unfortunately there's no direct link to it; you can get it in the Downloads section of the Rocket Community portal (same place where you probably downloaded build 9):

    https://my.rocketsoftware.com/RocketCommunity#/downloads

    Select the z/OpenSource category on the left, then enter 'git' into the filter field on the right side. Click on the 'USSP-708' link in the search results, and in there, you'll find git-2.14.4_b11.190917.tar.gz.

    Lionel Dyck
    Participating Frequently
    Dec 29, 2020 3:21 PM UTC

    On a test lpar i've got git (2.14) installed and it is failing.  Here is an example:

    /u/lbdyck>ssh git@github.com git-receive-pack lbdyck/racfadm.git 
    FOTS2273 Warning: Permanently added the RSA host key for IP address '140.82.112.3' to the list of known hosts.
    --Â--Ä-Á--/ÀÁÄ-ÃÀ--À---Ã--/-À-Á-Ã-Â---À------ÊÁÃËÇÁ/ÀË_/ËÈÁÊÊÁø?ÊÈ-ËÈ/ÈÍË-ÀÁ%ÁÈÁ-ÊÁÃË-ËÑÀÁ-Â/>À---,-ÉÍÑÁÈ-/È?_ÑÄ
    Ê_/È-ËÇ/--/ÅÁ>È-ÅÑÈÅÑÈÇÍÂ-ÅÂ--ÄÄ-Ä-/-ÂÀ----ÄÃÃ-À-Â---Â/--ÁÃÁÀ-/ÁÂ--Á-Â-/Á---ÃÀÀ--Â---ÊÁÃËÈ/ÅË--------Ä-ÄÄ---ÄÄ--

    And another example:

    /u/lbdyck>git clone git@github.com:lbdyck/pdsegen.git 
    Cloning into 'pdsegen'...
    fatal: protocol error: bad line length character: ---Á

    Can anyone point me to where to fix this?

    I'm sure this is something trivial but I can't find the problem.

    This is the git file i used to install to get the b09 level:  

    -rw-r----- 1 BPXROOT ZOWEDEV 43023346 Dec 25 17:22 git-2.14.4_b11.190917.tar.gz

    ??????

    Lionel Dyck
    Participating Frequently
    Dec 29, 2020 3:21 PM UTC

    On a test lpar i've got git (2.14) installed and it is failing.  Here is an example:

    /u/lbdyck>ssh git@github.com git-receive-pack lbdyck/racfadm.git 
    FOTS2273 Warning: Permanently added the RSA host key for IP address '140.82.112.3' to the list of known hosts.
    --Â--Ä-Á--/ÀÁÄ-ÃÀ--À---Ã--/-À-Á-Ã-Â---À------ÊÁÃËÇÁ/ÀË_/ËÈÁÊÊÁø?ÊÈ-ËÈ/ÈÍË-ÀÁ%ÁÈÁ-ÊÁÃË-ËÑÀÁ-Â/>À---,-ÉÍÑÁÈ-/È?_ÑÄ
    Ê_/È-ËÇ/--/ÅÁ>È-ÅÑÈÅÑÈÇÍÂ-ÅÂ--ÄÄ-Ä-/-ÂÀ----ÄÃÃ-À-Â---Â/--ÁÃÁÀ-/ÁÂ--Á-Â-/Á---ÃÀÀ--Â---ÊÁÃËÈ/ÅË--------Ä-ÄÄ---ÄÄ--

    And another example:

    /u/lbdyck>git clone git@github.com:lbdyck/pdsegen.git 
    Cloning into 'pdsegen'...
    fatal: protocol error: bad line length character: ---Á

    Can anyone point me to where to fix this?

    I'm sure this is something trivial but I can't find the problem.

    I'm thinking it may have something to do with the ssh setup but i don't see anything there - i'm baffled.