Displaying 3 results from an estimated 3 matches for "contouch".
2012 Nov 24
0
ssh-keyscan continuity patch --
...",
@@ -466,13 +511,17 @@
confree(s);
return;
}
+/* Read and print one of the ssh2 keys for this host. */
if (c->c_keytype != KT_RSA1) {
keyprint(c, keygrab_ssh2(c));
confree(s);
return;
}
+/* Continue the process of getting the ssh1 key. */
c->c_status = CS_SIZE;
contouch(s);
+ return;
+
}
static void
@@ -520,7 +569,7 @@
struct timeval seltime, now;
fd_set *r, *e;
con *c;
- int i;
+ int i, s;
gettimeofday(&now, NULL);
c = TAILQ_FIRST(&tq);
@@ -550,20 +599,100 @@
if (FD_ISSET(i, e)) {
error("%s: exception!", fdcon[i].c_name);...
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
...L_MINOR_1 : PROTOCOL_MINOR_2);
if (atomicio(write, s, buf, n) != n) {
error("write (%s): %s", c->c_name, strerror(errno));
confree(s);
return;
}
+ if (c->c_keytype != KT_RSA1) {
+ keyprint(c, keygrab_ssh2(c));
+ confree(s);
+ return;
+ }
c->c_status = CS_SIZE;
contouch(s);
}
@@ -452,7 +553,7 @@
c->c_status = CS_KEYS;
break;
case CS_KEYS:
- keyprint(c->c_name, c->c_output_name, c->c_data, c->c_plen);
+ keyprint(c, keygrab_ssh1(c));
confree(s);
return;
break;
@@ -520,49 +621,99 @@
nexthost(int argc, char **argv)
{
stat...