[rfc] branch/merge/push/pull operations with remote location (sftp/ftp) that require password and GUI

Daniel Silverstone dsilvers at digital-scurf.org
Fri Oct 27 10:09:37 BST 2006


On Thu, 2006-10-26 at 07:37 -0500, John Arbash Meinel wrote:
> For ssh, we have the problem that if we spawn a subprocess, we can't
> actually give it the password. This is because at least openssh connects
> directly to the terminal to ask the user (and I would assume others do
> too). This is a security measure, and also what allows you to do:

For openssh you can set the SSH_ASKPASS env var to a program to pop up a
prompt. Typically I have it set to ssh-askpass-gnome for example.

D.

-- 
Daniel Silverstone                         http://www.digital-scurf.org/
PGP mail accepted and encouraged.            Key Id: 2BC8 4016 2068 7895






More information about the bazaar mailing list