diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 24 |
1 files changed, 5 insertions, 19 deletions
@@ -42,7 +42,7 @@ | |||
42 | */ | 42 | */ |
43 | 43 | ||
44 | #include "includes.h" | 44 | #include "includes.h" |
45 | RCSID("$OpenBSD: sshd.c,v 1.288 2004/03/03 06:47:52 markus Exp $"); | 45 | RCSID("$OpenBSD: sshd.c,v 1.289 2004/03/11 08:36:26 markus Exp $"); |
46 | 46 | ||
47 | #include <openssl/dh.h> | 47 | #include <openssl/dh.h> |
48 | #include <openssl/bn.h> | 48 | #include <openssl/bn.h> |
@@ -765,24 +765,10 @@ usage(void) | |||
765 | { | 765 | { |
766 | fprintf(stderr, "sshd version %s, %s\n", | 766 | fprintf(stderr, "sshd version %s, %s\n", |
767 | SSH_VERSION, SSLeay_version(SSLEAY_VERSION)); | 767 | SSH_VERSION, SSLeay_version(SSLEAY_VERSION)); |
768 | fprintf(stderr, "Usage: %s [options]\n", __progname); | 768 | fprintf(stderr, |
769 | fprintf(stderr, "Options:\n"); | 769 | "usage: sshd [-46Ddeiqt] [-b bits] [-f config_file] [-g login_grace_time]\n" |
770 | fprintf(stderr, " -f file Configuration file (default %s)\n", _PATH_SERVER_CONFIG_FILE); | 770 | " [-h host_key_file] [-k key_gen_time] [-o option] [-p port] [-u len]\n" |
771 | fprintf(stderr, " -d Debugging mode (multiple -d means more debugging)\n"); | 771 | ); |
772 | fprintf(stderr, " -i Started from inetd\n"); | ||
773 | fprintf(stderr, " -D Do not fork into daemon mode\n"); | ||
774 | fprintf(stderr, " -t Only test configuration file and keys\n"); | ||
775 | fprintf(stderr, " -q Quiet (no logging)\n"); | ||
776 | fprintf(stderr, " -p port Listen on the specified port (default: 22)\n"); | ||
777 | fprintf(stderr, " -k seconds Regenerate server key every this many seconds (default: 3600)\n"); | ||
778 | fprintf(stderr, " -g seconds Grace period for authentication (default: 600)\n"); | ||
779 | fprintf(stderr, " -b bits Size of server RSA key (default: 768 bits)\n"); | ||
780 | fprintf(stderr, " -h file File from which to read host key (default: %s)\n", | ||
781 | _PATH_HOST_KEY_FILE); | ||
782 | fprintf(stderr, " -u len Maximum hostname length for utmp recording\n"); | ||
783 | fprintf(stderr, " -4 Use IPv4 only\n"); | ||
784 | fprintf(stderr, " -6 Use IPv6 only\n"); | ||
785 | fprintf(stderr, " -o option Process the option as if it was read from a configuration file.\n"); | ||
786 | exit(1); | 772 | exit(1); |
787 | } | 773 | } |
788 | 774 | ||