version 1.226, 2010/10/05 05:13:18 |
version 1.227, 2010/10/06 06:39:28 |
|
|
|
|
static int matching_host_key_dns = 0; |
static int matching_host_key_dns = 0; |
|
|
|
static pid_t proxy_command_pid = 0; |
|
|
/* import */ |
/* import */ |
extern Options options; |
extern Options options; |
extern char *__progname; |
extern char *__progname; |
extern uid_t original_real_uid; |
extern uid_t original_real_uid; |
extern uid_t original_effective_uid; |
extern uid_t original_effective_uid; |
extern pid_t proxy_command_pid; |
|
|
|
static int show_other_keys(const char *, Key *); |
static int show_other_keys(const char *, Key *); |
static void warn_changed_key(Key *); |
static void warn_changed_key(Key *); |
|
|
|
|
/* Indicate OK return */ |
/* Indicate OK return */ |
return 0; |
return 0; |
|
} |
|
|
|
void |
|
ssh_kill_proxy_command(void) |
|
{ |
|
/* |
|
* Send SIGHUP to proxy command if used. We don't wait() in |
|
* case it hangs and instead rely on init to reap the child |
|
*/ |
|
if (proxy_command_pid > 1) |
|
kill(SIGHUP, proxy_command_pid); |
} |
} |
|
|
/* |
/* |