You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Alon Bar-Lev (JIRA)" <ji...@apache.org> on 2015/11/13 22:36:11 UTC

[jira] [Updated] (SSHD-585) sshd performs LF->CRLF to output

     [ https://issues.apache.org/jira/browse/SSHD-585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alon Bar-Lev updated SSHD-585:
------------------------------
    Attachment: SSHD.java

A simple test sshd.

Reproduce by:
1. run add slf4j and sshd-core into classpath.
2. ssh -p <port> root@localhost cat /etc/passwd > /tmp/out
3. notice LF->CRLF conversion.


> sshd performs LF->CRLF to output
> --------------------------------
>
>                 Key: SSHD-585
>                 URL: https://issues.apache.org/jira/browse/SSHD-585
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 1.0.0, 1.1.0
>         Environment: client: apache-sshd (master) and openssh
> $ ssh -V
> OpenSSH_7.1p1-hpn14v9, OpenSSL 1.0.2d 9 Jul 2015
> $ 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)
>            Reporter: Alon Bar-Lev
>         Attachments: SSHD.java
>
>
> This is a regression since pre-1.0, for some reason LF are converted to CRLF in output. As far as I know sshd should not alter the stream, this is behaviour of any sshd and was the behaviour of apache-sshd < 1.0.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)