Re: OpenSSH and stdin/stdout assigning

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

 



> So there is the difference in assigning stdin and stdout for ssh
> connections. Openssh 4.3 assigns socket (I assume this socket points
> to /dev/log but not really sure, I've got it from strace), and openssh
> 5.3 assigns pipes.
...
> I'm wondering is it expected behaviour? Is there way to assign pipes
> in openssh 4.3 too?
> Looked through code but I'm not very familiar with C programming.
The most easy way is to *make* STDIN (and STDOUT) a pipe:

    $ ssh root@rhel5 'cat | /bin/ls -la /proc/self/fd | cat'
_______________________________________________
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