Merge lp:~mwhudson/launchpad/ssh-errors-on-stderr-bug-335156 into lp:launchpad
Proposed by
Michael Hudson-Doyle
Status: | Merged |
---|---|
Approved by: | Jonathan Lange |
Approved revision: | no longer in the source branch. |
Merged at revision: | not available |
Proposed branch: | lp:~mwhudson/launchpad/ssh-errors-on-stderr-bug-335156 |
Merge into: | lp:launchpad |
Diff against target: |
112 lines (+30/-9) 2 files modified
lib/lp/codehosting/sshserver/session.py (+8/-5) lib/lp/codehosting/sshserver/tests/test_session.py (+22/-4) |
To merge this branch: | bzr merge lp:~mwhudson/launchpad/ssh-errors-on-stderr-bug-335156 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jonathan Lange (community) | Approve | ||
Review via email: mp+21353@code.launchpad.net |
Commit message
Send the error messages from the ssh server about starting shells etc to the ssh clients stderr, not stdout.
Description of the change
Hi there,
This branch fixes the linked bug by sending the messages our smart server sends over stderr. I totally cargo culted the way to do this, but it works.
To test, run_codehosting and then run "BZR_REMOTE_
Cheers,
mwh
To post a comment you must log in.
I haven't tested, but it looks good to me.