On Wed, May 02, 2018 at 02:09:06PM -0400, G. Branden Robinson wrote:
> Here's why I asked. There's a piece of OpenSSH that seems to believe ^
> is, or might be, an operator. It's down in the weeds of some
> shell-detection madness, so I'm not sure if they're on crack or not.
>
>https://pastebin.com/df7jYEib
If they're accounting for the possibility that the shell is a Bourne
shell, then yes, ^ could be a pipe operator. It is completely possible
(although growing increasingly unlikely over time) that someone could
ssh into an account on a system where the login shell is a Bourne shell.