Re: [evolution-patches] [PATCH] IMAP preauth and subcommand connection.



On Thu, 2003-06-26 at 23:12, Jeffrey Stedfast wrote: 
> I totally overlooked this when reviewing the patch. not necessarily a
> bad thing, just "what happens if the user doesn't have ssh-askpass
> installed?" and is that even possible? I think ssh comes with askpass,
> but I forget. might be distributed separately sometimes?

Most distributions have ssh-askpass and ssh-agent set up properly by
default now, I think. Even the Opie environment on the Compaq iPAQ
handhelds boxes gets it right :)

> anyways, not sure one could easily handle the case where ssh-askpass
> wasn't used? on the other hand, it'd be good to not hang either...

It doesn't hang -- that's why we explicitly detach from our controlling
terminal, to avoid _any_ chance that ssh might attempt to get a password
from it. If ssh thinks it needs to interact with the user for some
reason and can't use $SSK_ASKPASS, it'll just exit and you'll get a
dialog box saying you were disconnected.

-- 
dwmw2




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]