[BUG] Password handling when real ssh is available

James Henstridge james at jamesh.id.au
Fri Dec 2 01:34:26 GMT 2005


James Henstridge wrote:

>For this case, maybe closing the ssh's stderr, and adding os.setsid() as
>a preexec function  to disconnect from the controlling tty would work here.
>  
>
One mistake here: closing the stderr is not necessary.  Calling setsid()
is enough to disconnect from the controlling terminal and get ssh to use
the askpass program.

Of course, for command line bzr use, I'd prefer for ssh to ask its
questions in the terminal.

James.




More information about the bazaar mailing list