emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: TRAMP password caching


From: Jason Rumney
Subject: Re: TRAMP password caching
Date: Wed, 13 Dec 2006 12:53:10 +0000
User-agent: Thunderbird 1.5.0.8 (Windows/20061025)

Michael Albinus wrote:

Please do. I hoped it could be determined simply via the existence of
environment variables (as it is possible with ssh-agent, environment
variables $SSH_AUTHENTICATION_*), but it doesn't seem so easy. And I
also don't know a command like 'ps' which returns running processes,
in order to check whether pageant is active.
  

PuTTY itself uses the following code:

int agent_exists(void)
{
    HWND hwnd;
    hwnd = FindWindow("Pageant", "Pageant");
    if (!hwnd)
	return FALSE;
    else
	return TRUE;
}




reply via email to

[Prev in Thread] Current Thread [Next in Thread]