[Bug 2860] "-lc" should be used for non-interactive session

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Wed May 2 01:26:54 AEST 2018


https://bugzilla.mindrot.org/show_bug.cgi?id=2860

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |djm at mindrot.org
         Resolution|---                         |WONTFIX

--- Comment #1 from Damien Miller <djm at mindrot.org> ---
That inconsistency is intentional. Command execution sessions are
assumed to be non-interactive and are essential to ssh's use as a
transport for other protocols (e.g. rsync or git).

Shell profile scripts are allows to contain actions that write to
stdout and these would interfere with ssh being used as a transport if
sourced.

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list