Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-588

sshd removes CR from input stream

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 1.1.0
    • None
    • $ java -version
      openjdk version "1.8.0_60"
      OpenJDK Runtime Environment (IcedTea 3.0.0pre06+ra9817b9f8a21) (Gentoo icedtea-3.0.0_pre06)
      OpenJDK 64-Bit Server VM (build 25.60-b23, mixed mode)

    Description

      1. start SSHD (attached)
      2. create /tmp/a1:
      line1
      line2
      3. unix2dos /tmp/a1
      4. send it to remote:
      $ ssh -p @PORT@ root@localhost "cat > /tmp/a2" < /tmp/a1
      3. examine result:
      $ ls -la /tmp/a1 /tmp/a2
      rw-rr- 1 alonbl alonbl 14 Nov 16 12:50 /tmp/a1
      rw-rr- 1 alonbl alonbl 12 Nov 16 12:51 /tmp/a2
      4. notice size differs, CR were removed.

      Attachments

        1. SSHD.java
          4 kB
          Alon Bar-Lev

        Issue Links

          Activity

            People

              lgoldstein Lyor Goldstein
              alonbl Alon Bar-Lev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: