Displaying 2 results from an estimated 2 matches for "generate_ephemeral_server_key".
2001 Jun 22
1
PATCH: pidfile/sigterm race
...the pidfile after the signal
handlers are setup. Here's the patch.
Rob
--- sshd.c.orig Fri Jun 22 11:16:41 2001
+++ sshd.c Fri Jun 22 11:18:32 2001
@@ -857,6 +857,19 @@
if (!num_listen_socks)
fatal("Cannot bind any address.");
+ if (options.protocol & SSH_PROTO_1)
+ generate_ephemeral_server_key();
+
+ /* Arrange to restart on SIGHUP. The handler needs listen_sock. */
+ signal(SIGHUP, sighup_handler);
+
+ signal(SIGTERM, sigterm_handler);
+ signal(SIGQUIT, sigterm_handler);
+
+ /* Arrange SIGCHLD to be caught. */
+ signal(SIGCHLD, main_sigchld_handler);
+
+ /* Write out the pid fil...
2001 Mar 28
1
[Wishlist] another level of logging
Hello - got a small wishlist item here:
The currently available LogLevel settings (according to the man page)
are:
QUIET, FATAL, ERROR, INFO, VERBOSE and DEBUG.
Using "INFO" causes messages about RSA key re-generation to appear in
the auth logs. However using the next-lower LogLevel of "ERROR" causes
client IP and port to not be reported in the auth logs.
I was hoping for