version 1.49, 2000/01/04 00:08:00 |
version 1.50, 2000/01/05 08:32:42 |
|
|
unsigned char session_id[16]; |
unsigned char session_id[16]; |
|
|
extern Options options; |
extern Options options; |
|
extern char *__progname; |
|
|
/* |
/* |
* Connect to the given ssh server using a proxy command. |
* Connect to the given ssh server using a proxy command. |
|
|
hints.ai_socktype = SOCK_STREAM; |
hints.ai_socktype = SOCK_STREAM; |
snprintf(strport, sizeof strport, "%d", port); |
snprintf(strport, sizeof strport, "%d", port); |
if ((gaierr = getaddrinfo(host, strport, &hints, &aitop)) != 0) |
if ((gaierr = getaddrinfo(host, strport, &hints, &aitop)) != 0) |
fatal("Bad host name: %.100s (%s)", host, gai_strerror(gaierr)); |
fatal("%s: %.100s: %s", __progname, host, |
|
gai_strerror(gaierr)); |
|
|
/* |
/* |
* Try to connect several times. On some machines, the first time |
* Try to connect several times. On some machines, the first time |