version 1.202, 2003/10/11 08:24:08 |
version 1.203, 2003/11/21 11:57:03 |
|
|
options.proxy_command = NULL; |
options.proxy_command = NULL; |
|
|
/* Open a connection to the remote host. */ |
/* Open a connection to the remote host. */ |
if (ssh_connect(host, &hostaddr, options.port, |
if (ssh_connect(host, &hostaddr, options.port, |
options.address_family, options.connection_attempts, |
options.address_family, options.connection_attempts, |
original_effective_uid == 0 && options.use_privileged_port, |
original_effective_uid == 0 && options.use_privileged_port, |
options.proxy_command) != 0) |
options.proxy_command) != 0) |
|
|
packet_close(); |
packet_close(); |
|
|
/* |
/* |
* Send SIGHUP to proxy command if used. We don't wait() in |
* Send SIGHUP to proxy command if used. We don't wait() in |
* case it hangs and instead rely on init to reap the child |
* case it hangs and instead rely on init to reap the child |
*/ |
*/ |
if (proxy_command_pid > 1) |
if (proxy_command_pid > 1) |