Menu

#24736 web.sourceforge.net does not accpt rsync request

closed
nobody
None
web.sourceforge.net
eli-project
2023-07-05
2023-06-25
No

I am trying to use rsync over ssh for project web uploads. Here is my file transfer request with its result:

doyle% /usr/local/bin/rsync --debug CMD -avP -e ssh elionline profw@web.sourceforge.net:/home/project-web/eli-project/htdocs/
opening connection using: ssh -l profw web.sourceforge.net rsync --server -vlogDtpre.iLsfxCIvu --partial . /home/project-web/eli-project/htdocs/ (10 args)
(profw@web.sourceforge.net) Password:
protocol version mismatch -- is your shell clean?
(see the rsync manpage for an explanation)
rsync error: protocol incompatibility (code 2) at compat.c(626) [sender=3.2.7]
doyle%

The rsync FAQ says that this error is "usually caused by having some sort of program in your .cshrc, .profile, .bashrc or equivalent file that writes a message every time you connect using a remote-shell program (such as ssh or rsh)." I therefore executed the shell command reported by rsync's debug output (see above):

doyle% ssh -v -l profw web.sourceforge.net rsync --server -vlogDtpre.iLsfxCIvu --partial . /home/project-web/eli-project/htdocs/
OpenSSH_9.0p1, LibreSSL 3.3.6

[many lines associated with checking ssh keys]

debug1: Next authentication method: keyboard-interactive
(profw@web.sourceforge.net) Password:
Authenticated to web.sourceforge.net ([216.105.38.21]:22) using "keyboard-interactive".
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: pledge: filesystem
debug1: Sending environment.
debug1: channel 0: setting env LC_TERMINAL_VERSION = "3.4.19"
debug1: channel 0: setting env LANG = "en_US"
debug1: channel 0: setting env LC_TERMINAL = "iTerm2"
debug1: Sending command: rsync --server -vlogDtpre.iLsfxCIvu --partial . /home/project-web/eli-project/htdocs/

Welcome!

This is a restricted Shell Account.
You can only copy files to/from here.

As you can see, web.sourceforge.net does not recognize the request to set up an rsync server as valid for this web site.

Any information that yoiu could provide would be appreciated!

Discussion

  • SourceForge Support

    Hello,

    Can you run this command instead?
    /usr/local/bin/rsync -avHP elionline profw@web.sourceforge.net:/home/project-web/eli-project/htdocs/

    If you are still getting the protocol version mismatch please tell us what version of rsync and ssh you are using.

    Sincerely,
    SourceForge Support

     
    • William M. Waite

      I am still getting the protocol mismatch with the altered command. Here is the result, with the versions of rsync and ssh included:

      doyle% /usr/local/bin/rsync -avHP elionline profw@web.sourceforge.net:/home/project-web/eli-project/htdocs/
      (profw@web.sourceforge.net) Password:
      protocol version mismatch -- is your shell clean?
      (see the rsync manpage for an explanation)
      rsync error: protocol incompatibility (code 2) at compat.c(626) [sender=3.2.7]
      doyle% /usr/local/bin/rsync --version
      rsync version 3.2.7 protocol version 31
      Copyright (C) 1996-2022 by Andrew Tridgell, Wayne Davison, and others.
      Web site: https://rsync.samba.org/
      Capabilities:
      64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
      socketpairs, symlinks, symtimes, hardlinks, hardlink-specials,
      hardlink-symlinks, IPv6, atimes, batchfiles, inplace, append, ACLs,
      xattrs, optional secluded-args, iconv, no prealloc, stop-at, crtimes,
      file-flags
      Optimizations:
      no SIMD-roll, no asm-roll, openssl-crypto, no asm-MD5
      Checksum list:
      xxh128 xxh3 xxh64 (xxhash) md5 md4 sha1 none
      Compress list:
      zstd lz4 zlibx zlib none
      Daemon auth list:
      sha512 sha256 sha1 md5 md4

      rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you
      are welcome to redistribute it under certain conditions. See the GNU
      General Public Licence for details.
      doyle% ssh -V
      OpenSSH_9.0p1, LibreSSL 3.3.6
      doyle%

      On Jun 26, 2023, at 10:30, SourceForge Support sf-support@users.sourceforge.net wrote:

      Hello,

      Can you run this command instead?
      /usr/local/bin/rsync -avHP elionline profw@web.sourceforge.net:/home/project-web/eli-project/htdocs/

      If you are still getting the protocol version mismatch please tell us what version of rsync and ssh you are using.

      Sincerely,
      SourceForge Support


      [site-support:#24736]https://sourceforge.net/p/forge/site-support/24736/ web.sourceforge.net does not accpt rsync request

      Status: open
      Created: Sun Jun 25, 2023 07:22 PM UTC by William M. Waite
      Last Updated: Sun Jun 25, 2023 07:22 PM UTC
      Owner: nobody

      I am trying to use rsync over ssh for project web uploads. Here is my file transfer request with its result:

      doyle% /usr/local/bin/rsync --debug CMD -avP -e ssh elionline profw@web.sourceforge.net:/home/project-web/eli-project/htdocs/
      opening connection using: ssh -l profw web.sourceforge.net rsync --server -vlogDtpre.iLsfxCIvu --partial . /home/project-web/eli-project/htdocs/ (10 args)
      (profw@web.sourceforge.net) Password:
      protocol version mismatch -- is your shell clean?
      (see the rsync manpage for an explanation)
      rsync error: protocol incompatibility (code 2) at compat.c(626) [sender=3.2.7]
      doyle%

      The rsync FAQ says that this error is "usually caused by having some sort of program in your .cshrc, .profile, .bashrc or equivalent file that writes a message every time you connect using a remote-shell program (such as ssh or rsh)." I therefore executed the shell command reported by rsync's debug output (see above):

      doyle% ssh -v -l profw web.sourceforge.net rsync --server -vlogDtpre.iLsfxCIvu --partial . /home/project-web/eli-project/htdocs/
      OpenSSH_9.0p1, LibreSSL 3.3.6

      [many lines associated with checking ssh keys]

      debug1: Next authentication method: keyboard-interactive
      (profw@web.sourceforge.net) Password:
      Authenticated to web.sourceforge.net ([216.105.38.21]:22) using "keyboard-interactive".
      debug1: channel 0: new [client-session]
      debug1: Requesting no-more-sessions@openssh.com
      debug1: Entering interactive session.
      debug1: pledge: filesystem
      debug1: Sending environment.
      debug1: channel 0: setting env LC_TERMINAL_VERSION = "3.4.19"
      debug1: channel 0: setting env LANG = "en_US"
      debug1: channel 0: setting env LC_TERMINAL = "iTerm2"
      debug1: Sending command: rsync --server -vlogDtpre.iLsfxCIvu --partial . /home/project-web/eli-project/htdocs/

      Welcome!

      This is a restricted Shell Account.
      You can only copy files to/from here.

      As you can see, web.sourceforge.net does not recognize the request to set up an rsync server as valid for this web site.

      Any information that yoiu could provide would be appreciated!


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/forge/site-support/24736/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       
  • SourceForge Support

    Hello,

    Our DevOps team has looked into this and didn't find any issues with our services.

    We have tried the same exact command you posted and we are able to rsync successfully to our test projects.

    Unfortunately, this looks like a local issue with your configuration and we cannot help you any further.

    Sincerely,
    SourceForge Support

     
  • SourceForge Support

    • status: open --> closed
     
  • SourceForge Support

    Hello,

    We have not heard from you and are now closing this ticket. If you need any help moving forward, please submit another ticket. Thank you.

    Sincerely,
    SourceForge Support

     

Log in to post a comment.