Re: Is ssh supposed to run commands in terminal?

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

 



Hi,

On Fri, Apr 17, 2015 at 03:55:33PM -0700, Yuri wrote:
> On 04/15/2015 00:49, Christian Kandeler wrote:
> >
> >-o RequestTTY=yes
> 
> 
> Thanks, this works.
> 
> However, with this option ssh alters the output of all commands: it adds 
> CR=0x0d in front of every NL=0x0a. This doesn't happen without this option.
> Why is sshd adding CR?

You requested a tty, you got a tty, and that's what ttys are doing unless
you run "stty -ocrnl" first (inside the remote shell, running inside the 
tty).

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert@xxxxxxxxxxxxxx
fax: +49-89-35655025                        gert@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
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