sftp in 12.04 has tty attributes setting problem
Bug #1225327 reported by
wzis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
portable OpenSSH |
Confirmed
|
Low
|
|||
libedit (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
openssh (Ubuntu Linaro Evaluation Build) |
New
|
Undecided
|
Unassigned |
Bug Description
In Ubuntu 12.04 LTS, when doing following:
1. stty -echo
2. sftp user@server
3. key in pass as required.
4. cd /tmp
5. bye
6. stty -a
By right, the contents entered in step 4-6 shouldn't be visible, but they do on 12.04.
Found the same issue on RHEL 6.x. But sftp on Solaris/AIX/HP-UX and RHEL 5.x do not have this issue.
information type: | Private Security → Public |
no longer affects: | reportbug (Ubuntu) |
Changed in openssh: | |
importance: | Unknown → Critical |
status: | Unknown → Confirmed |
Changed in openssh: | |
importance: | Critical → Low |
To post a comment you must log in.
Thank you for reporting this bug and helping to make Ubuntu better.
I don't think that it's clear that the behaviour should be as you expect. I think it's normal for programs to disable echo when requesting a password from the terminal, and then to enable echo again, without any regard for whether echo was already disabled to start with.
This is the sort of issue that it would be best for upstream to consider and fix if they consider it appropriate. I think it would be best for distributions to defer to upstream's opinion on this, rather than fragment behaviour by fixing things on their own.
Could you please test the latest upstream release, and if this still affects the upstream release without distribution patches, file a bug in the upstream bug tracker to get upstream's opinion?
Setting this bug to Incomplete, as it needs an opinion from upstream as to whether this is really a bug at all. If you find that Ubuntu's behaviour differs from upstream, or if upstream agree that this is a bug, then please change the bug status back to New. If upstream consider the current behaviour to be the correct behaviour, the please change the bug status to Invalid. Thanks!