Menu

#24692 SSH protocol version mismatch

closed
nobody
None
web.sourceforge.net
eli-project
2023-06-08
2023-06-06
No

I get a protocol version mismatch when attempting to upload to our project web information. I'm using SSH version 3.2.7 protocol 31, which I believe is the latest version. SourceForge appears to respond with a bogus protocol number. Here is the verbose output from SSH:

doyle% /usr/local/bin/rsync -aavvvvP -e ssh elionline profw@web.sourceforge.net:/home/project-web/eli-project/htdocs/
cmd=ssh machine=web.sourceforge.net user=profw path=/home/project-web/eli-project/htdocs/
cmd[0]=ssh cmd[1]=-l cmd[2]=profw cmd[3]=web.sourceforge.net cmd[4]=rsync cmd[5]=--server cmd[6]=-vvvvlogDtpre.iLsfxCIvu cmd[7]=--partial cmd[8]=. cmd[9]=/home/project-web/eli-project/htdocs/
opening connection using: ssh -l profw web.sourceforge.net rsync --server -vvvvlogDtpre.iLsfxCIvu --partial . /home/project-web/eli-project/htdocs/ (10 args)
msg checking charset: UTF-8
(profw@web.sourceforge.net) Password:
(Client) Protocol versions: remote=1818580746, negotiated=31
protocol version mismatch -- is your shell clean?
(see the rsync manpage for an explanation)
[sender] _exit_cleanup(code=2, file=compat.c, line=626): entered
rsync error: protocol incompatibility (code 2) at compat.c(626) [sender=3.2.7]
[sender] _exit_cleanup(code=2, file=compat.c, line=626): about to call exit(2)
doyle%

Discussion

  • SourceForge Support

    Hello,

    We don't see any problems with our services. If you try again, does it work?
    If you are still having issues, please start by looking online for information on the line:
    protocol version mismatch -- is your shell clean?

    As that probably means that one of your login scripts may be outputting some sort of data to the terminal causing ssh to error as it receives unexpected data.

    Sincerely,

    SourceForge Support

     
    • William M. Waite

      This problem occurs every time I attempt to upload the file. I have attempted the operation from two different computers, one an
      Apple MacAir running Ventura 13.4, the other a Dell running Gentoo Linux. Both machines use rsync v3.2.7, protocol 31, but I get the same effect running an older version.

      I have NO login scripts, and have tried the access with a .ssh directory that is empty except for the public and private keys.

      I can move files to other computers without problems. When I use the verbose option with other computers, I see the lines

      (Client) Protocol versions: remote=31, negotiated=31
      (Server) Protocol versions: remote=31, negotiated=31

      Only with web.sourceforge.netweb@sourceforge.net do I see the sequence

      (Client) Protocol versions: remote=1818580746, negotiated=31
      protocol version mismatch -- is your shell clean?

      It seems very strange that the remote protocol is obviously bogus. I get the same strange number on both computers.

      On Jun 6, 2023, at 12:18, SourceForge Support sf-support@users.sourceforge.net wrote:

      Hello,

      We don't see any problems with our services. If you try again, does it work?
      If you are still having issues, please start by looking online for information on the line:
      protocol version mismatch -- is your shell clean?

      As that probably means that one of your login scripts may be outputting some sort of data to the terminal causing ssh to error as it receives unexpected data.

      Sincerely,

      SourceForge Support


      [site-support:#24692]https://sourceforge.net/p/forge/site-support/24692/ SSH protocol version mismatch

      Status: open
      Created: Tue Jun 06, 2023 03:50 PM UTC by William M. Waite
      Last Updated: Tue Jun 06, 2023 03:50 PM UTC
      Owner: nobody

      I get a protocol version mismatch when attempting to upload to our project web information. I'm using SSH version 3.2.7 protocol 31, which I believe is the latest version. SourceForge appears to respond with a bogus protocol number. Here is the verbose output from SSH:

      doyle% /usr/local/bin/rsync -aavvvvP -e ssh elionline profw@web.sourceforge.net:/home/project-web/eli-project/htdocs/
      cmd=ssh machine=web.sourceforge.net user=profw path=/home/project-web/eli-project/htdocs/
      cmd[0]=ssh cmd[1]=-l cmd[2]=profw cmd[3]=web.sourceforge.net cmd[4]=rsync cmd[5]=--server cmd[6]=-vvvvlogDtpre.iLsfxCIvu cmd[7]=--partial cmd[8]=. cmd[9]=/home/project-web/eli-project/htdocs/
      opening connection using: ssh -l profw web.sourceforge.net rsync --server -vvvvlogDtpre.iLsfxCIvu --partial . /home/project-web/eli-project/htdocs/ (10 args)
      msg checking charset: UTF-8
      (profw@web.sourceforge.net) Password:
      (Client) Protocol versions: remote=1818580746, negotiated=31
      protocol version mismatch -- is your shell clean?
      (see the rsync manpage for an explanation)
      [sender] _exit_cleanup(code=2, file=compat.c, line=626): entered
      rsync error: protocol incompatibility (code 2) at compat.c(626) [sender=3.2.7]
      [sender] _exit_cleanup(code=2, file=compat.c, line=626): about to call exit(2)
      doyle%


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

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

       
  • SourceForge Support

    Hello,

    I tried your command from terminal in Ubuntu 22.04 on a test project with no issues.
    Edited out the user and project name

    Sincerely,
    SourceForge Support

     
    • William M. Waite

      I need to update material associated with one of my projects, so that it corresponds to the latest release. This method apparently fails for unknown reasons. I am able to access that material via the shell service, but I can’t upload files using that mechanism. Do you have any other suggestion?

      On Jun 7, 2023, at 11:57, SourceForge Support sf-support@users.sourceforge.net wrote:

      Hello,

      I tried your command from terminal in Ubuntu 22.04 on a test project with no issues.
      Edited out the user and project name

      Sincerely,
      SourceForge Support

      Attachments:


      [site-support:#24692]https://sourceforge.net/p/forge/site-support/24692/ SSH protocol version mismatch

      Status: open
      Created: Tue Jun 06, 2023 03:50 PM UTC by William M. Waite
      Last Updated: Tue Jun 06, 2023 06:18 PM UTC
      Owner: nobody

      I get a protocol version mismatch when attempting to upload to our project web information. I'm using SSH version 3.2.7 protocol 31, which I believe is the latest version. SourceForge appears to respond with a bogus protocol number. Here is the verbose output from SSH:

      doyle% /usr/local/bin/rsync -aavvvvP -e ssh elionline profw@web.sourceforge.net:/home/project-web/eli-project/htdocs/
      cmd=ssh machine=web.sourceforge.net user=profw path=/home/project-web/eli-project/htdocs/
      cmd[0]=ssh cmd[1]=-l cmd[2]=profw cmd[3]=web.sourceforge.net cmd[4]=rsync cmd[5]=--server cmd[6]=-vvvvlogDtpre.iLsfxCIvu cmd[7]=--partial cmd[8]=. cmd[9]=/home/project-web/eli-project/htdocs/
      opening connection using: ssh -l profw web.sourceforge.net rsync --server -vvvvlogDtpre.iLsfxCIvu --partial . /home/project-web/eli-project/htdocs/ (10 args)
      msg checking charset: UTF-8
      (profw@web.sourceforge.net) Password:
      (Client) Protocol versions: remote=1818580746, negotiated=31
      protocol version mismatch -- is your shell clean?
      (see the rsync manpage for an explanation)
      [sender] _exit_cleanup(code=2, file=compat.c, line=626): entered
      rsync error: protocol incompatibility (code 2) at compat.c(626) [sender=3.2.7]
      [sender] _exit_cleanup(code=2, file=compat.c, line=626): about to call exit(2)
      doyle%


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

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

       
  • SourceForge Support

    Hello,

    You can use sftp, please read our documentation with examples here:
    https://sourceforge.net/p/forge/documentation/SFTP/

    Sincerely,
    SourceForge Support

     
    • William M. Waite

      That worked! Thanks for your patience...

      On Jun 8, 2023, at 11:00, SourceForge Support sf-support@users.sourceforge.net wrote:

      Hello,

      You can use sftp, please read our documentation with examples here:
      https://sourceforge.net/p/forge/documentation/SFTP/

      Sincerely,
      SourceForge Support


      [site-support:#24692]https://sourceforge.net/p/forge/site-support/24692/ SSH protocol version mismatch

      Status: open
      Created: Tue Jun 06, 2023 03:50 PM UTC by William M. Waite
      Last Updated: Wed Jun 07, 2023 05:57 PM UTC
      Owner: nobody

      I get a protocol version mismatch when attempting to upload to our project web information. I'm using SSH version 3.2.7 protocol 31, which I believe is the latest version. SourceForge appears to respond with a bogus protocol number. Here is the verbose output from SSH:

      doyle% /usr/local/bin/rsync -aavvvvP -e ssh elionline profw@web.sourceforge.net:/home/project-web/eli-project/htdocs/
      cmd=ssh machine=web.sourceforge.net user=profw path=/home/project-web/eli-project/htdocs/
      cmd[0]=ssh cmd[1]=-l cmd[2]=profw cmd[3]=web.sourceforge.net cmd[4]=rsync cmd[5]=--server cmd[6]=-vvvvlogDtpre.iLsfxCIvu cmd[7]=--partial cmd[8]=. cmd[9]=/home/project-web/eli-project/htdocs/
      opening connection using: ssh -l profw web.sourceforge.net rsync --server -vvvvlogDtpre.iLsfxCIvu --partial . /home/project-web/eli-project/htdocs/ (10 args)
      msg checking charset: UTF-8
      (profw@web.sourceforge.net) Password:
      (Client) Protocol versions: remote=1818580746, negotiated=31
      protocol version mismatch -- is your shell clean?
      (see the rsync manpage for an explanation)
      [sender] _exit_cleanup(code=2, file=compat.c, line=626): entered
      rsync error: protocol incompatibility (code 2) at compat.c(626) [sender=3.2.7]
      [sender] _exit_cleanup(code=2, file=compat.c, line=626): about to call exit(2)
      doyle%


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

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

       
  • SourceForge Support

    • status: open --> closed
     
  • SourceForge Support

    Hi,

    Thank you for your feedback
    This ticket will be closed.

    Sincerely,
    SourceForge Support

     

Log in to post a comment.