bugzilla-daemon at mindrot.org
2004-Mar-24  06:09 UTC
[Bug 817] Opening >1 session and shell results in the MOTD being repeated
http://bugzilla.mindrot.org/show_bug.cgi?id=817
           Summary: Opening >1 session and shell results in the MOTD being
                    repeated
           Product: Portable OpenSSH
           Version: 3.6.1p2
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sshd
        AssignedTo: openssh-bugs at mindrot.org
        ReportedBy: z3p at twistedmatrix.com
If a connected client with an open shell starts a new session channel and
connects it to a shell, the MOTD will be repeated twice in the new shell.  It
will be repeated 3 times in a third, etc.  The number of open shells is not
important, only the total number of shells since the start of the session.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2004-Mar-24  06:13 UTC
[Bug 817] Opening >1 session and shell results in the MOTD being repeated
http://bugzilla.mindrot.org/show_bug.cgi?id=817
dtucker at zip.com.au changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
------- Additional Comments From dtucker at zip.com.au  2004-03-23 23:13 -------
What client are you using?
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2004-Mar-24  06:15 UTC
[Bug 817] Opening >1 session and shell results in the MOTD being repeated
http://bugzilla.mindrot.org/show_bug.cgi?id=817 ------- Additional Comments From z3p at twistedmatrix.com 2004-03-23 23:15 ------- Twisted Conch (http://www.twistedmatrix.com/). ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2004-Mar-24  07:41 UTC
[Bug 817] Opening >1 session and shell results in the MOTD being repeated
http://bugzilla.mindrot.org/show_bug.cgi?id=817 ------- Additional Comments From dtucker at zip.com.au 2004-03-24 00:41 ------- Created an attachment (id=575) --> (http://bugzilla.mindrot.org/attachment.cgi?id=575&action=view) Clear loginmsg after fork. Please try this patch. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2004-Mar-24  14:59 UTC
[Bug 817] Opening >1 session and shell results in the MOTD being repeated
http://bugzilla.mindrot.org/show_bug.cgi?id=817 ------- Additional Comments From z3p at twistedmatrix.com 2004-03-24 07:59 ------- Yep, works like a charm! ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2004-Mar-25  23:28 UTC
[Bug 817] Opening >1 session and shell results in the MOTD being repeated
http://bugzilla.mindrot.org/show_bug.cgi?id=817 ------- Additional Comments From dtucker at zip.com.au 2004-03-25 16:28 ------- Cool. Is the patch OK for 3.8.1p1? ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2004-Mar-26  10:54 UTC
[Bug 817] Opening >1 session and shell results in the MOTD being repeated
http://bugzilla.mindrot.org/show_bug.cgi?id=817
djm at mindrot.org changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
    Attachment #575|                            |ok
             Status|                            |
------- Additional Comments From djm at mindrot.org  2004-03-26 03:54 -------
(From update of attachment 575)
OK for 3.8.1p1. Make sure it gets into OpenBSD after the unlock too, if
relevant.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2004-Mar-27  05:46 UTC
[Bug 817] Opening >1 session and shell results in the MOTD being repeated
http://bugzilla.mindrot.org/show_bug.cgi?id=817
dtucker at zip.com.au changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
------- Additional Comments From dtucker at zip.com.au  2004-03-26 22:46 -------
Patch applied, thanks for the report.
Note that there is currently no equivalent to loginmsg in OpenBSD's sshd.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Maybe Matching Threads
- [Bug 756] sshd does not support global request cancel-tcpip-forward
 - [Bug 916] SFTP over SSH died after roughly 20MB when asking for >64k chunks
 - Call for testing: OpenSSH 8.4
 - OpenSSH 7.7p1 interop failure with Twisted Conch 8.0.0-17.9.0
 - [Code study]should we remove if (motd && *motd) section?