version 1.510, 2019/12/21 02:19:13 |
version 1.511, 2020/01/05 16:28:22 |
|
|
timeout_ms = options.connection_timeout * 1000; |
timeout_ms = options.connection_timeout * 1000; |
|
|
/* Open a connection to the remote host. */ |
/* Open a connection to the remote host. */ |
if (ssh_connect(ssh, host_arg, host, addrs, &hostaddr, options.port, |
if (ssh_connect(ssh, host, host_arg, addrs, &hostaddr, options.port, |
options.address_family, options.connection_attempts, |
options.address_family, options.connection_attempts, |
&timeout_ms, options.tcp_keep_alive) != 0) |
&timeout_ms, options.tcp_keep_alive) != 0) |
exit(255); |
exit(255); |