Displaying 3 results from an estimated 3 matches for "fatal_callback".
2002 Mar 21
2
bug in ssh-keyscan.c --
=====
Ladies/Gents,
"ssh-keyscan.c" can't be linked statically against "libssh.a". You end
up with `fatal()' being doubly defined.
The patch below deletes the new "ssh-keyscan.c:fatal()" function and
and restores the "ssh-keyscan.c:fatal_callback()" function with modifi-
cations. The problem that both attempt to alleviate is the setting of
the <called> variable in the "log.c:fatal_cleanup()" function. In the
current code, it can be called once only. The second time it's called,
an immediate "exit(255)"...
2001 Jul 27
0
Updated ssh-keyscan patch for ssh2 support
.../misplaced option `%s'",
- argv[argno++]);
- } else {
- char *line;
-
- line = Linebuf_getline(lb);
- if (line)
- return (line);
- Linebuf_free(lb);
- lb = NULL;
+ argv[argno]);
+ goto double_break;
+ }
}
+double_break:
+ argno++;
}
}
static void
+fatal_callback(void *arg)
+{
+ if (nonfatal_fatal)
+ longjmp(kexjmp, -1);
+}
+
+static void
usage(void)
{
- fatal("usage: %s [-t timeout] { [--] host | -f file } ...", __progname);
+ fatal("usage: %s [-v46] [-T timeout] { [-t type] [--] host | -f file } ...",
+ __progname);
return;
}...
2002 Feb 12
3
Problem with ssh-keyscan: no hostkey alg
Hi,
I am using ssh-keyscan with a list of hosts, such as:
ssh-keyscan -t rsa -f hosts_for_keyscan
Some of the hosts in the list have dsa, but no rsa keys. For such
hosts, the command displays:
no hostkey alg
When this is the case for 2 hosts, this message appears twice AND
SSH-KEYSCAN STOPS QUERYING, which means that no keys at all are
returned for the following hosts.
Here is the part of the