Question about stderr output containing carriage return External

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Hi all,

I have recently only discovered that openssh prints lines to stderr
separated by CLRF pairs, and am trying to understand where this
behavior comes from.

This behavior can be seen here:
--snip--
$ ssh u@u 2>&1 | sed -n l
ssh: Could not resolve hostname u: Name or service not known\r$
--snip--

I have seen section 11.3 from rfc4253, but am unsure whether that is
the origin of this behavior. Is a "Debug Message"(SSH_MSG_DEBUG)
considered anything that is logged on stderr?

Any insights welcome!

Cheers,
Josh
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux