Changeset View
Changeset View
Standalone View
Standalone View
sshd.c
Show First 20 Lines • Show All 894 Lines • ▼ Show 20 Lines | #define SSHD_MAXSTARTUPS_LOG_INTERVAL (5 * 60) | |||||||||
/* best-effort notification to client */ | /* best-effort notification to client */ | |||||||||
(void)write(sock, msg, sizeof(msg) - 1); | (void)write(sock, msg, sizeof(msg) - 1); | |||||||||
return 1; | return 1; | |||||||||
} | } | |||||||||
static void | static void | |||||||||
usage(void) | usage(void) | |||||||||
{ | { | |||||||||
fprintf(stderr, "%s, %s\n", SSH_RELEASE, SSH_OPENSSL_VERSION); | if (options.version_addendum != NULL && | |||||||||
*options.version_addendum != '\0') | ||||||||||
fprintf(stderr, "%s %s, %s\n", | ||||||||||
SSH_RELEASE, | ||||||||||
options.version_addendum, OPENSSL_VERSION_STRING); | ||||||||||
else | ||||||||||
fprintf(stderr, "%s, %s\n", | ||||||||||
SSH_RELEASE, OPENSSL_VERSION_STRING); | ||||||||||
allanjudeUnsubmitted Not Done Inline Actions
allanjude: | ||||||||||
fprintf(stderr, | fprintf(stderr, | |||||||||
"usage: sshd [-46DdeiqTt] [-C connection_spec] [-c host_cert_file]\n" | "usage: sshd [-46DdeiqTt] [-C connection_spec] [-c host_cert_file]\n" | |||||||||
" [-E log_file] [-f config_file] [-g login_grace_time]\n" | " [-E log_file] [-f config_file] [-g login_grace_time]\n" | |||||||||
" [-h host_key_file] [-o option] [-p port] [-u len]\n" | " [-h host_key_file] [-o option] [-p port] [-u len]\n" | |||||||||
); | ); | |||||||||
exit(1); | exit(1); | |||||||||
} | } | |||||||||
▲ Show 20 Lines • Show All 1,522 Lines • Show Last 20 Lines |