Password caching

Matthew Hannigan mlh at
Tue Nov 28 22:48:41 GMT 2006

On Tue, Nov 28, 2006 at 08:52:54AM -0600, John Arbash Meinel wrote:
> Not if you spawn an ssh subprocess, rather than using the paramiko builtin.
> Which also brings up a problem in any password caching scheme that we
> implement. Namely that 'ssh' itself does not provide an easy way to pass
> it the password. So even if bzr remember the password, how would it pass
> it on? 'ssh' grabs direct access to the terminal, rather than going
> through stdin, so you would have to somehow create a pseudo TTY for ssh
> to use, etc.

I guess you could use pexpect to drive ssh -- best done
in a plugin if it all though :-)


More information about the bazaar mailing list