sftp / ssh password problems with bzr 0.8 prerelease
Bug #40508 reported by
Daniel Holbach
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
Martin Pool | ||
bzr (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When connecting to sftp if ssh asks for your password, the cursor "sits a line below" and if type the password it appears on the screen. It doesn't seem to get transmitted either.
This is caused by the recent setpgrp fix to prevent stale locks on ctrl-C.
You can workaround it by using ssh keys and adding the keypair to your agent. Or, if you are in a trusted environment you can embed the password in the url, but *this is a security concern* and *not recommended*.
Changed in bzr: | |
status: | Unconfirmed → Confirmed |
assignee: | nobody → mbp |
description: | updated |
Changed in bzr: | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
Robert recently changed bzr so that ssh is run in a separate process
group, with the goal of protecting it from being abruptly terminated by
^C (and therefore preventing us from cleaning up before closing the
connection.)
This may well be a consequence of that - being in a new pgrp likely
prevents ssh setting the terminal mode.
I'm not sure which is the lesser evil... perhaps we should keep the old
behaviour?
--
Martin