• rsync can't make it work between 2 HPNS

    From Eric Bathalon@eric.bathalon@gmail.com to comp.sys.tandem on Tue May 16 05:21:35 2023
    From Newsgroup: comp.sys.tandem

    Hi all, I am trying make rsync (3.2.4 for the moment) between 2 HPNS
    It works if I use rsync from an ubuntu server to my HPNS.
    It works if I sync locally from the same HPNS to sync 2 directories for example.
    But when I am trying between my 2 HPNS I am still getting either:
    rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(228) [Receiver=v3.2.4] rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(228) [sender=v3.2.4]
    or SSH: rsync: is your shell clean?
    Added export SUPPRESSCLIENTBANNER=TRUE to my profile I tried multiple syntax options without success.
    If anyone have some hints
    Thanks in advance !
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Bill Honaker@no_spam_bhonaker__@x_i_d.com to comp.sys.tandem on Wed May 17 15:17:17 2023
    From Newsgroup: comp.sys.tandem

    On Tue, 16 May 2023 05:21:35 -0700 (PDT), Eric Bathalon <eric.bathalon@gmail.com> wrote:

    Hi all, I am trying make rsync (3.2.4 for the moment) between 2 HPNS
    It works if I use rsync from an ubuntu server to my HPNS.
    It works if I sync locally from the same HPNS to sync 2 directories for example.
    But when I am trying between my 2 HPNS I am still getting either:

    rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(228) [Receiver=v3.2.4] rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(228) [sender=v3.2.4]

    or SSH: rsync: is your shell clean?

    Added export SUPPRESSCLIENTBANNER=TRUE to my profile I tried multiple syntax options without success.

    If anyone have some hints
    Thanks in advance !

    Hi, Eric,

    It would be helpful to know a few things:

    o RVU of 'receiver' NonStop (target of rsync)
    o NonStop SSH Vesion of that server
    o User ID being used in all 3 cases (is it the same?)
    o RVU of failing 'sender' NonStop (where rsync is being run)
    o NonStop SSH Vesion of that server
    o Can you connect from the 'sender' NonStop to the 'receiver' NonStop using SSH from the command line?

    Based on the error test "0 bytes recevied" it could be encryption setup is not working.

    Bill
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Eric Bathalon@eric.bathalon@gmail.com to comp.sys.tandem on Thu May 18 05:23:47 2023
    From Newsgroup: comp.sys.tandem

    Le mardi 16 mai 2023 |a 08:21:36 UTC-4, Eric Bathalon a |-crit-a:
    Hi all, I am trying make rsync (3.2.4 for the moment) between 2 HPNS
    It works if I use rsync from an ubuntu server to my HPNS.
    It works if I sync locally from the same HPNS to sync 2 directories for example.
    But when I am trying between my 2 HPNS I am still getting either:

    rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(228) [Receiver=v3.2.4] rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(228) [sender=v3.2.4]

    or SSH: rsync: is your shell clean?

    Added export SUPPRESSCLIENTBANNER=TRUE to my profile I tried multiple syntax options without success.

    If anyone have some hints
    Thanks in advance !
    HPNS 1 is running L22.09 with SSH L02_05SEP2022
    HPNS 2 is running L20.10 with SSH L02_15OCT2020
    I can connect SSH on both servers using the user IDs I am using to test my rsync with. (Either a super user or an super.super alias) over OutsideView & Putty or from a linux server directly on the OSS side.
    The only modification I made is from my linux server that I need to use a .ssh/config to set Ciphers and HostKeyAlgo but outside of that, I can connect via SSH or use SFTP between both HPNS without issues.
    I am using the same users for all my tests
    Servers are giving the same errors whatever the role (sender or receiver)
    HPNS 1 --> HPNS 2
    HPNS 2 -->-aHPNS 1
    same same
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Randall@rsbecker@nexbridge.com to comp.sys.tandem on Thu May 18 08:21:42 2023
    From Newsgroup: comp.sys.tandem

    On Thursday, May 18, 2023 at 8:23:48rC>a.m. UTC-4, Eric Bathalon wrote:
    Le mardi 16 mai 2023 |a 08:21:36 UTC-4, Eric Bathalon a |-crit :
    Hi all, I am trying make rsync (3.2.4 for the moment) between 2 HPNS
    It works if I use rsync from an ubuntu server to my HPNS.
    It works if I sync locally from the same HPNS to sync 2 directories for example.
    But when I am trying between my 2 HPNS I am still getting either:

    rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(228) [Receiver=v3.2.4] rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(228) [sender=v3.2.4]

    or SSH: rsync: is your shell clean?

    Added export SUPPRESSCLIENTBANNER=TRUE to my profile I tried multiple syntax options without success.

    If anyone have some hints
    Thanks in advance !
    HPNS 1 is running L22.09 with SSH L02_05SEP2022
    HPNS 2 is running L20.10 with SSH L02_15OCT2020

    I can connect SSH on both servers using the user IDs I am using to test my rsync with. (Either a super user or an super.super alias) over OutsideView & Putty or from a linux server directly on the OSS side.
    The only modification I made is from my linux server that I need to use a .ssh/config to set Ciphers and HostKeyAlgo but outside of that, I can connect via SSH or use SFTP between both HPNS without issues.
    I am using the same users for all my tests

    Servers are giving the same errors whatever the role (sender or receiver) HPNS 1 --> HPNS 2
    HPNS 2 --> HPNS 1
    same same
    Are you trying to use rsyncd on the remote HPNS? If so, do you have port forwarding enabled in SSH? Also, have you set the SHELL-ENVIRONMENT for your user? Login shells (putty/outside view/etc..) automatically load your .profile, but other SSH shell connections do not and require the SHELL-ENVIRONMENT to define your env.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Eric Bathalon@eric.bathalon@gmail.com to comp.sys.tandem on Thu May 18 08:33:22 2023
    From Newsgroup: comp.sys.tandem

    Le jeudi 18 mai 2023 |a 11:21:43 UTC-4, Randall a |-crit-a:
    On Thursday, May 18, 2023 at 8:23:48rC>a.m. UTC-4, Eric Bathalon wrote:
    Le mardi 16 mai 2023 |a 08:21:36 UTC-4, Eric Bathalon a |-crit :
    Hi all, I am trying make rsync (3.2.4 for the moment) between 2 HPNS
    It works if I use rsync from an ubuntu server to my HPNS.
    It works if I sync locally from the same HPNS to sync 2 directories for example.
    But when I am trying between my 2 HPNS I am still getting either:

    rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(228) [Receiver=v3.2.4] rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(228) [sender=v3.2.4]

    or SSH: rsync: is your shell clean?

    Added export SUPPRESSCLIENTBANNER=TRUE to my profile I tried multiple syntax options without success.

    If anyone have some hints
    Thanks in advance !
    HPNS 1 is running L22.09 with SSH L02_05SEP2022
    HPNS 2 is running L20.10 with SSH L02_15OCT2020

    I can connect SSH on both servers using the user IDs I am using to test my rsync with. (Either a super user or an super.super alias) over OutsideView & Putty or from a linux server directly on the OSS side.
    The only modification I made is from my linux server that I need to use a .ssh/config to set Ciphers and HostKeyAlgo but outside of that, I can connect via SSH or use SFTP between both HPNS without issues.
    I am using the same users for all my tests

    Servers are giving the same errors whatever the role (sender or receiver) HPNS 1 --> HPNS 2
    HPNS 2 --> HPNS 1
    same same
    Are you trying to use rsyncd on the remote HPNS? If so, do you have port forwarding enabled in SSH? Also, have you set the SHELL-ENVIRONMENT for your user? Login shells (putty/outside view/etc..) automatically load your .profile, but other SSH shell connections do not and require the SHELL-ENVIRONMENT to define your env.
    I am not trying to use the Daemon. I will look for the SHELL-ENVIRONMENT I am not sure about that !
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Eric Bathalon@eric.bathalon@gmail.com to comp.sys.tandem on Thu May 18 10:43:06 2023
    From Newsgroup: comp.sys.tandem

    Le jeudi 18 mai 2023 |a 11:33:24 UTC-4, Eric Bathalon a |-crit-a:
    Le jeudi 18 mai 2023 |a 11:21:43 UTC-4, Randall a |-crit :
    On Thursday, May 18, 2023 at 8:23:48rC>a.m. UTC-4, Eric Bathalon wrote:
    Le mardi 16 mai 2023 |a 08:21:36 UTC-4, Eric Bathalon a |-crit :
    Hi all, I am trying make rsync (3.2.4 for the moment) between 2 HPNS It works if I use rsync from an ubuntu server to my HPNS.
    It works if I sync locally from the same HPNS to sync 2 directories for example.
    But when I am trying between my 2 HPNS I am still getting either:

    rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(228) [Receiver=v3.2.4] rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(228) [sender=v3.2.4]

    or SSH: rsync: is your shell clean?

    Added export SUPPRESSCLIENTBANNER=TRUE to my profile I tried multiple syntax options without success.

    If anyone have some hints
    Thanks in advance !
    HPNS 1 is running L22.09 with SSH L02_05SEP2022
    HPNS 2 is running L20.10 with SSH L02_15OCT2020

    I can connect SSH on both servers using the user IDs I am using to test my rsync with. (Either a super user or an super.super alias) over OutsideView & Putty or from a linux server directly on the OSS side.
    The only modification I made is from my linux server that I need to use a .ssh/config to set Ciphers and HostKeyAlgo but outside of that, I can connect via SSH or use SFTP between both HPNS without issues.
    I am using the same users for all my tests

    Servers are giving the same errors whatever the role (sender or receiver)
    HPNS 1 --> HPNS 2
    HPNS 2 --> HPNS 1
    same same
    Are you trying to use rsyncd on the remote HPNS? If so, do you have port forwarding enabled in SSH? Also, have you set the SHELL-ENVIRONMENT for your user? Login shells (putty/outside view/etc..) automatically load your .profile, but other SSH shell connections do not and require the SHELL-ENVIRONMENT to define your env.
    I am not trying to use the Daemon. I will look for the SHELL-ENVIRONMENT I am not sure about that !
    I set one for my user on both system pointing for now on /etc/profile ... but same behavior for rsync
    I am using the following syntax from hpns1: /usr/bin/rsync --stats --progress -avz -e/usr/bin/ssh -S \$ssh00 /home/super/me/test/* hpns2:/home/super/me/test/
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Randall@rsbecker@nexbridge.com to comp.sys.tandem on Thu May 18 11:48:09 2023
    From Newsgroup: comp.sys.tandem

    On Thursday, May 18, 2023 at 1:43:07rC>p.m. UTC-4, Eric Bathalon wrote:
    Le jeudi 18 mai 2023 |a 11:33:24 UTC-4, Eric Bathalon a |-crit :
    Le jeudi 18 mai 2023 |a 11:21:43 UTC-4, Randall a |-crit :
    On Thursday, May 18, 2023 at 8:23:48rC>a.m. UTC-4, Eric Bathalon wrote:
    Le mardi 16 mai 2023 |a 08:21:36 UTC-4, Eric Bathalon a |-crit :
    Hi all, I am trying make rsync (3.2.4 for the moment) between 2 HPNS It works if I use rsync from an ubuntu server to my HPNS.
    It works if I sync locally from the same HPNS to sync 2 directories for example.
    But when I am trying between my 2 HPNS I am still getting either:

    rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(228) [Receiver=v3.2.4] rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(228) [sender=v3.2.4]

    or SSH: rsync: is your shell clean?

    Added export SUPPRESSCLIENTBANNER=TRUE to my profile I tried multiple syntax options without success.

    If anyone have some hints
    Thanks in advance !
    HPNS 1 is running L22.09 with SSH L02_05SEP2022
    HPNS 2 is running L20.10 with SSH L02_15OCT2020

    I can connect SSH on both servers using the user IDs I am using to test my rsync with. (Either a super user or an super.super alias) over OutsideView & Putty or from a linux server directly on the OSS side.
    The only modification I made is from my linux server that I need to use a .ssh/config to set Ciphers and HostKeyAlgo but outside of that, I can connect via SSH or use SFTP between both HPNS without issues.
    I am using the same users for all my tests

    Servers are giving the same errors whatever the role (sender or receiver)
    HPNS 1 --> HPNS 2
    HPNS 2 --> HPNS 1
    same same
    Are you trying to use rsyncd on the remote HPNS? If so, do you have port forwarding enabled in SSH? Also, have you set the SHELL-ENVIRONMENT for your user? Login shells (putty/outside view/etc..) automatically load your .profile, but other SSH shell connections do not and require the SHELL-ENVIRONMENT to define your env.
    I am not trying to use the Daemon. I will look for the SHELL-ENVIRONMENT I am not sure about that !
    I set one for my user on both system pointing for now on /etc/profile ... but same behavior for rsync
    I am using the following syntax from hpns1: /usr/bin/rsync --stats --progress -avz -e/usr/bin/ssh -S \$ssh00 /home/super/me/test/* hpns2:/home/super/me/test/
    I'm not sure about this working. The OpenSSH process has communication issues on NonStop and does not always work - I'm not sure why; however, it also cannot be located in /usr/bin as far as I know, as that is considered a man in the middle potential problem. The object is hard-coded to be in /usr/local/bin/ssh for the 1.0.2q OpenSSL build. You might have more success using NonStop SSH as a client/server in this case. /G/system/zssh/sshoss is the program for the client. You can also go to GNSC directly for help making SSHOSS work.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Eric Bathalon@eric.bathalon@gmail.com to comp.sys.tandem on Thu May 18 12:36:05 2023
    From Newsgroup: comp.sys.tandem

    Le jeudi 18 mai 2023 |a 14:48:11 UTC-4, Randall a |-crit-a:
    On Thursday, May 18, 2023 at 1:43:07rC>p.m. UTC-4, Eric Bathalon wrote:
    Le jeudi 18 mai 2023 |a 11:33:24 UTC-4, Eric Bathalon a |-crit :
    Le jeudi 18 mai 2023 |a 11:21:43 UTC-4, Randall a |-crit :
    On Thursday, May 18, 2023 at 8:23:48rC>a.m. UTC-4, Eric Bathalon wrote:
    Le mardi 16 mai 2023 |a 08:21:36 UTC-4, Eric Bathalon a |-crit :
    Hi all, I am trying make rsync (3.2.4 for the moment) between 2 HPNS
    It works if I use rsync from an ubuntu server to my HPNS.
    It works if I sync locally from the same HPNS to sync 2 directories for example.
    But when I am trying between my 2 HPNS I am still getting either:

    rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(228) [Receiver=v3.2.4] rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(228) [sender=v3.2.4]

    or SSH: rsync: is your shell clean?

    Added export SUPPRESSCLIENTBANNER=TRUE to my profile I tried multiple syntax options without success.

    If anyone have some hints
    Thanks in advance !
    HPNS 1 is running L22.09 with SSH L02_05SEP2022
    HPNS 2 is running L20.10 with SSH L02_15OCT2020

    I can connect SSH on both servers using the user IDs I am using to test my rsync with. (Either a super user or an super.super alias) over OutsideView & Putty or from a linux server directly on the OSS side.
    The only modification I made is from my linux server that I need to use a .ssh/config to set Ciphers and HostKeyAlgo but outside of that, I can connect via SSH or use SFTP between both HPNS without issues.
    I am using the same users for all my tests

    Servers are giving the same errors whatever the role (sender or receiver)
    HPNS 1 --> HPNS 2
    HPNS 2 --> HPNS 1
    same same
    Are you trying to use rsyncd on the remote HPNS? If so, do you have port forwarding enabled in SSH? Also, have you set the SHELL-ENVIRONMENT for your user? Login shells (putty/outside view/etc..) automatically load your .profile, but other SSH shell connections do not and require the SHELL-ENVIRONMENT to define your env.
    I am not trying to use the Daemon. I will look for the SHELL-ENVIRONMENT I am not sure about that !
    I set one for my user on both system pointing for now on /etc/profile ... but same behavior for rsync
    I am using the following syntax from hpns1: /usr/bin/rsync --stats --progress -avz -e/usr/bin/ssh -S \$ssh00 /home/super/me/test/* hpns2:/home/super/me/test/
    I'm not sure about this working. The OpenSSH process has communication issues on NonStop and does not always work - I'm not sure why; however, it also cannot be located in /usr/bin as far as I know, as that is considered a man in the middle potential problem. The object is hard-coded to be in /usr/local/bin/ssh for the 1.0.2q OpenSSL build. You might have more success using NonStop SSH as a client/server in this case. /G/system/zssh/sshoss is the program for the client. You can also go to GNSC directly for help making SSHOSS work.
    There is a misunderstanding. I am using Nonstop builtin SSH and my ssh is a link to /G/system/zssh/sshoss. Anyway, since my path is including /usr/local/bin I move rsync and nonstop ssh under /usr/local/bin/... same result. I am just wondering if it should work between 2 HPNS or it is the same problem that we have with scp that is only working as a server and not as a client...
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Randall@rsbecker@nexbridge.com to comp.sys.tandem on Thu May 18 14:56:47 2023
    From Newsgroup: comp.sys.tandem

    On Thursday, May 18, 2023 at 3:36:07rC>p.m. UTC-4, Eric Bathalon wrote:
    Le jeudi 18 mai 2023 |a 14:48:11 UTC-4, Randall a |-crit :
    On Thursday, May 18, 2023 at 1:43:07rC>p.m. UTC-4, Eric Bathalon wrote:
    Le jeudi 18 mai 2023 |a 11:33:24 UTC-4, Eric Bathalon a |-crit :
    Le jeudi 18 mai 2023 |a 11:21:43 UTC-4, Randall a |-crit :
    On Thursday, May 18, 2023 at 8:23:48rC>a.m. UTC-4, Eric Bathalon wrote:
    Le mardi 16 mai 2023 |a 08:21:36 UTC-4, Eric Bathalon a |-crit :
    Hi all, I am trying make rsync (3.2.4 for the moment) between 2 HPNS
    It works if I use rsync from an ubuntu server to my HPNS.
    It works if I sync locally from the same HPNS to sync 2 directories for example.
    But when I am trying between my 2 HPNS I am still getting either:

    rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(228) [Receiver=v3.2.4] rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(228) [sender=v3.2.4]

    or SSH: rsync: is your shell clean?

    Added export SUPPRESSCLIENTBANNER=TRUE to my profile I tried multiple syntax options without success.

    If anyone have some hints
    Thanks in advance !
    HPNS 1 is running L22.09 with SSH L02_05SEP2022
    HPNS 2 is running L20.10 with SSH L02_15OCT2020

    I can connect SSH on both servers using the user IDs I am using to test my rsync with. (Either a super user or an super.super alias) over OutsideView & Putty or from a linux server directly on the OSS side.
    The only modification I made is from my linux server that I need to use a .ssh/config to set Ciphers and HostKeyAlgo but outside of that, I can connect via SSH or use SFTP between both HPNS without issues.
    I am using the same users for all my tests

    Servers are giving the same errors whatever the role (sender or receiver)
    HPNS 1 --> HPNS 2
    HPNS 2 --> HPNS 1
    same same
    Are you trying to use rsyncd on the remote HPNS? If so, do you have port forwarding enabled in SSH? Also, have you set the SHELL-ENVIRONMENT for your user? Login shells (putty/outside view/etc..) automatically load your .profile, but other SSH shell connections do not and require the SHELL-ENVIRONMENT to define your env.
    I am not trying to use the Daemon. I will look for the SHELL-ENVIRONMENT I am not sure about that !
    I set one for my user on both system pointing for now on /etc/profile ... but same behavior for rsync
    I am using the following syntax from hpns1: /usr/bin/rsync --stats --progress -avz -e/usr/bin/ssh -S \$ssh00 /home/super/me/test/* hpns2:/home/super/me/test/
    I'm not sure about this working. The OpenSSH process has communication issues on NonStop and does not always work - I'm not sure why; however, it also cannot be located in /usr/bin as far as I know, as that is considered a man in the middle potential problem. The object is hard-coded to be in /usr/local/bin/ssh for the 1.0.2q OpenSSL build. You might have more success using NonStop SSH as a client/server in this case. /G/system/zssh/sshoss is the program for the client. You can also go to GNSC directly for help making SSHOSS work.
    There is a misunderstanding. I am using Nonstop builtin SSH and my ssh is a link to /G/system/zssh/sshoss. Anyway, since my path is including /usr/local/bin I move rsync and nonstop ssh under /usr/local/bin/... same result. I am just wondering if it should work between 2 HPNS or it is the same problem that we have with scp that is only working as a server and not as a client...
    If you are using NonStop SSH as a client, you should be taking this up with GNSC. Seriously.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Eric Bathalon@eric.bathalon@gmail.com to comp.sys.tandem on Thu May 18 17:51:27 2023
    From Newsgroup: comp.sys.tandem

    Le jeudi 18 mai 2023 |a 17:56:49 UTC-4, Randall a |-crit-a:
    On Thursday, May 18, 2023 at 3:36:07rC>p.m. UTC-4, Eric Bathalon wrote:
    Le jeudi 18 mai 2023 |a 14:48:11 UTC-4, Randall a |-crit :
    On Thursday, May 18, 2023 at 1:43:07rC>p.m. UTC-4, Eric Bathalon wrote:
    Le jeudi 18 mai 2023 |a 11:33:24 UTC-4, Eric Bathalon a |-crit :
    Le jeudi 18 mai 2023 |a 11:21:43 UTC-4, Randall a |-crit :
    On Thursday, May 18, 2023 at 8:23:48rC>a.m. UTC-4, Eric Bathalon wrote:
    Le mardi 16 mai 2023 |a 08:21:36 UTC-4, Eric Bathalon a |-crit :
    Hi all, I am trying make rsync (3.2.4 for the moment) between 2 HPNS
    It works if I use rsync from an ubuntu server to my HPNS.
    It works if I sync locally from the same HPNS to sync 2 directories for example.
    But when I am trying between my 2 HPNS I am still getting either:

    rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(228) [Receiver=v3.2.4] rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(228) [sender=v3.2.4]

    or SSH: rsync: is your shell clean?

    Added export SUPPRESSCLIENTBANNER=TRUE to my profile I tried multiple syntax options without success.

    If anyone have some hints
    Thanks in advance !
    HPNS 1 is running L22.09 with SSH L02_05SEP2022
    HPNS 2 is running L20.10 with SSH L02_15OCT2020

    I can connect SSH on both servers using the user IDs I am using to test my rsync with. (Either a super user or an super.super alias) over OutsideView & Putty or from a linux server directly on the OSS side.
    The only modification I made is from my linux server that I need to use a .ssh/config to set Ciphers and HostKeyAlgo but outside of that, I can connect via SSH or use SFTP between both HPNS without issues.
    I am using the same users for all my tests

    Servers are giving the same errors whatever the role (sender or receiver)
    HPNS 1 --> HPNS 2
    HPNS 2 --> HPNS 1
    same same
    Are you trying to use rsyncd on the remote HPNS? If so, do you have port forwarding enabled in SSH? Also, have you set the SHELL-ENVIRONMENT for your user? Login shells (putty/outside view/etc..) automatically load your .profile, but other SSH shell connections do not and require the SHELL-ENVIRONMENT to define your env.
    I am not trying to use the Daemon. I will look for the SHELL-ENVIRONMENT I am not sure about that !
    I set one for my user on both system pointing for now on /etc/profile ... but same behavior for rsync
    I am using the following syntax from hpns1: /usr/bin/rsync --stats --progress -avz -e/usr/bin/ssh -S \$ssh00 /home/super/me/test/* hpns2:/home/super/me/test/
    I'm not sure about this working. The OpenSSH process has communication issues on NonStop and does not always work - I'm not sure why; however, it also cannot be located in /usr/bin as far as I know, as that is considered a man in the middle potential problem. The object is hard-coded to be in /usr/local/bin/ssh for the 1.0.2q OpenSSL build. You might have more success using NonStop SSH as a client/server in this case. /G/system/zssh/sshoss is the program for the client. You can also go to GNSC directly for help making SSHOSS work.
    There is a misunderstanding. I am using Nonstop builtin SSH and my ssh is a link to /G/system/zssh/sshoss. Anyway, since my path is including /usr/local/bin I move rsync and nonstop ssh under /usr/local/bin/... same result. I am just wondering if it should work between 2 HPNS or it is the same problem that we have with scp that is only working as a server and not as a client...
    If you are using NonStop SSH as a client, you should be taking this up with GNSC. Seriously.
    Well I did but since it is a rsync issue , not supported ...
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Randall@rsbecker@nexbridge.com to comp.sys.tandem on Fri May 19 10:54:14 2023
    From Newsgroup: comp.sys.tandem

    On Thursday, May 18, 2023 at 8:51:29rC>p.m. UTC-4, Eric Bathalon wrote:
    Le jeudi 18 mai 2023 |a 17:56:49 UTC-4, Randall a |-crit :
    On Thursday, May 18, 2023 at 3:36:07rC>p.m. UTC-4, Eric Bathalon wrote:
    Le jeudi 18 mai 2023 |a 14:48:11 UTC-4, Randall a |-crit :
    On Thursday, May 18, 2023 at 1:43:07rC>p.m. UTC-4, Eric Bathalon wrote:
    Le jeudi 18 mai 2023 |a 11:33:24 UTC-4, Eric Bathalon a |-crit :
    Le jeudi 18 mai 2023 |a 11:21:43 UTC-4, Randall a |-crit :
    On Thursday, May 18, 2023 at 8:23:48rC>a.m. UTC-4, Eric Bathalon wrote:
    Le mardi 16 mai 2023 |a 08:21:36 UTC-4, Eric Bathalon a |-crit :
    Hi all, I am trying make rsync (3.2.4 for the moment) between 2 HPNS
    It works if I use rsync from an ubuntu server to my HPNS.
    It works if I sync locally from the same HPNS to sync 2 directories for example.
    But when I am trying between my 2 HPNS I am still getting either:

    rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(228) [Receiver=v3.2.4] rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(228) [sender=v3.2.4]

    or SSH: rsync: is your shell clean?

    Added export SUPPRESSCLIENTBANNER=TRUE to my profile I tried multiple syntax options without success.

    If anyone have some hints
    Thanks in advance !
    HPNS 1 is running L22.09 with SSH L02_05SEP2022
    HPNS 2 is running L20.10 with SSH L02_15OCT2020

    I can connect SSH on both servers using the user IDs I am using to test my rsync with. (Either a super user or an super.super alias) over OutsideView & Putty or from a linux server directly on the OSS side.
    The only modification I made is from my linux server that I need to use a .ssh/config to set Ciphers and HostKeyAlgo but outside of that, I can connect via SSH or use SFTP between both HPNS without issues.
    I am using the same users for all my tests

    Servers are giving the same errors whatever the role (sender or receiver)
    HPNS 1 --> HPNS 2
    HPNS 2 --> HPNS 1
    same same
    Are you trying to use rsyncd on the remote HPNS? If so, do you have port forwarding enabled in SSH? Also, have you set the SHELL-ENVIRONMENT for your user? Login shells (putty/outside view/etc..) automatically load your .profile, but other SSH shell connections do not and require the SHELL-ENVIRONMENT to define your env.
    I am not trying to use the Daemon. I will look for the SHELL-ENVIRONMENT I am not sure about that !
    I set one for my user on both system pointing for now on /etc/profile ... but same behavior for rsync
    I am using the following syntax from hpns1: /usr/bin/rsync --stats --progress -avz -e/usr/bin/ssh -S \$ssh00 /home/super/me/test/* hpns2:/home/super/me/test/
    I'm not sure about this working. The OpenSSH process has communication issues on NonStop and does not always work - I'm not sure why; however, it also cannot be located in /usr/bin as far as I know, as that is considered a man in the middle potential problem. The object is hard-coded to be in /usr/local/bin/ssh for the 1.0.2q OpenSSL build. You might have more success using NonStop SSH as a client/server in this case. /G/system/zssh/sshoss is the program for the client. You can also go to GNSC directly for help making SSHOSS work.
    There is a misunderstanding. I am using Nonstop builtin SSH and my ssh is a link to /G/system/zssh/sshoss. Anyway, since my path is including /usr/local/bin I move rsync and nonstop ssh under /usr/local/bin/... same result. I am just wondering if it should work between 2 HPNS or it is the same problem that we have with scp that is only working as a server and not as a client...
    If you are using NonStop SSH as a client, you should be taking this up with GNSC. Seriously.
    Well I did but since it is a rsync issue , not supported ...
    GNSC can at least show you how to trace the communication and ensure that the key exchange and environment is set up correctly - ignoring rsync itself. This really sounds like a problem running SSHOSS from rsync, so if you could emulate the call via ksh, then any problems would be in the realm of GNSC.
    --- Synchronet 3.21d-Linux NewsLink 1.2