Displaying 3 results from an estimated 3 matches for "c_tv".
Did you mean:
c_t
2012 Nov 24
0
ssh-keyscan continuity patch --
...on, the read attempt failed
+ * because the "local" timeout (set by the `packet_set_timeout()'
+ * function call) was exceeded. Give all hosts that currently have a
+ * "fdcon[s]" entry a fresh timeout.
+ */
+ i = -1;
c = TAILQ_FIRST(&tq);
- while (c && (c->c_tv.tv_sec < now.tv_sec ||
- (c->c_tv.tv_sec == now.tv_sec && c->c_tv.tv_usec < now.tv_usec))) {
- int s = c->c_fd;
+
+ if (conntimedout) {
+ while (c) {
+ s = c->c_fd;
+/*
+ * If i >= 0, fdcon[i] should be the first entry "touch"ed by
+ * the call to cont...
2001 May 14
2
openssh-2.9p1
Hi,
1. I think you should apply the attached patch to openssh-2.9p1,
otherwise ssh-keyscan on linux boxes with glibc-2.1 will experience enormous
timeout delays.
2. Is there a program like ssh-keyscan for the Version2 (dsa and rsa) keys??
regards
Peter Breitenlohner <peb at mppmu.mpg.de>
-------------- next part --------------
diff -ur openssh-2.9p1.orig/ssh-keyscan.c
2001 Jul 27
0
Updated ssh-keyscan patch for ssh2 support
...char *c_name; /* Hostname of connection for errors */
char *c_namelist; /* Pointer to other possible addresses */
char *c_output_name; /* Hostname of connection for output */
char *c_data; /* Data read from this fd */
+ Kex *c_kex; /* The key-exchange struct for ssh2 */
struct timeval c_tv; /* Time at which connection gets aborted */
TAILQ_ENTRY(Connection) c_link; /* List of connections in timeout order. */
} con;
@@ -242,8 +264,8 @@
return (tok);
}
-static void
-keyprint(char *host, char *output_name, char *kd, int len)
+static Key *
+keygrab_ssh1(con *c)
{
static Key *r...