summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-06-05 20:44:16 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-06-05 20:44:16 +0000
commit3b89c5ef8988ae33621efef8bd117db8f1f47e35 (patch)
tree81cec48015857f31a5494f6622dc7d9a06862519
parentd78ae766dedb4ca0cdce82a5193efb65ad9f1931 (diff)
- markus@cvs.openbsd.org 2001/05/28 08:04:39
[ssh.c] fix usage()
-rw-r--r--ChangeLog5
-rw-r--r--ssh.c11
2 files changed, 9 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 70bd4cfee..074082f09 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -56,6 +56,9 @@
56 - markus@cvs.openbsd.org 2001/05/25 14:37:32 56 - markus@cvs.openbsd.org 2001/05/25 14:37:32
57 [ssh-keygen.c] 57 [ssh-keygen.c]
58 use -P for -e and -y, too. 58 use -P for -e and -y, too.
59 - markus@cvs.openbsd.org 2001/05/28 08:04:39
60 [ssh.c]
61 fix usage()
59 62
6020010528 6320010528
61 - (tim) [conifgure.in] add setvbuf test needed for sftp-int.c 64 - (tim) [conifgure.in] add setvbuf test needed for sftp-int.c
@@ -5486,4 +5489,4 @@
5486 - Wrote replacements for strlcpy and mkdtemp 5489 - Wrote replacements for strlcpy and mkdtemp
5487 - Released 1.0pre1 5490 - Released 1.0pre1
5488 5491
5489$Id: ChangeLog,v 1.1239 2001/06/05 20:35:09 mouring Exp $ 5492$Id: ChangeLog,v 1.1240 2001/06/05 20:44:16 mouring Exp $
diff --git a/ssh.c b/ssh.c
index e1024d63c..01ae04297 100644
--- a/ssh.c
+++ b/ssh.c
@@ -39,7 +39,7 @@
39 */ 39 */
40 40
41#include "includes.h" 41#include "includes.h"
42RCSID("$OpenBSD: ssh.c,v 1.119 2001/05/24 18:57:53 stevesk Exp $"); 42RCSID("$OpenBSD: ssh.c,v 1.120 2001/05/28 08:04:39 markus Exp $");
43 43
44#include <openssl/evp.h> 44#include <openssl/evp.h>
45#include <openssl/err.h> 45#include <openssl/err.h>
@@ -156,12 +156,12 @@ usage(void)
156 fprintf(stderr, " -l user Log in using this user name.\n"); 156 fprintf(stderr, " -l user Log in using this user name.\n");
157 fprintf(stderr, " -n Redirect input from " _PATH_DEVNULL ".\n"); 157 fprintf(stderr, " -n Redirect input from " _PATH_DEVNULL ".\n");
158 fprintf(stderr, " -A Enable authentication agent forwarding.\n"); 158 fprintf(stderr, " -A Enable authentication agent forwarding.\n");
159 fprintf(stderr, " -a Disable authentication agent forwarding.\n"); 159 fprintf(stderr, " -a Disable authentication agent forwarding (default).\n");
160#ifdef AFS 160#ifdef AFS
161 fprintf(stderr, " -k Disable Kerberos ticket and AFS token forwarding.\n"); 161 fprintf(stderr, " -k Disable Kerberos ticket and AFS token forwarding.\n");
162#endif /* AFS */ 162#endif /* AFS */
163 fprintf(stderr, " -X Enable X11 connection forwarding.\n"); 163 fprintf(stderr, " -X Enable X11 connection forwarding.\n");
164 fprintf(stderr, " -x Disable X11 connection forwarding.\n"); 164 fprintf(stderr, " -x Disable X11 connection forwarding (default).\n");
165 fprintf(stderr, " -i file Identity for public key authentication " 165 fprintf(stderr, " -i file Identity for public key authentication "
166 "(default: ~/.ssh/identity)\n"); 166 "(default: ~/.ssh/identity)\n");
167 fprintf(stderr, " -t Tty; allocate a tty even if command is given.\n"); 167 fprintf(stderr, " -t Tty; allocate a tty even if command is given.\n");
@@ -174,8 +174,7 @@ usage(void)
174 fprintf(stderr, " -f Fork into background after authentication.\n"); 174 fprintf(stderr, " -f Fork into background after authentication.\n");
175 fprintf(stderr, " -e char Set escape character; ``none'' = disable (default: ~).\n"); 175 fprintf(stderr, " -e char Set escape character; ``none'' = disable (default: ~).\n");
176 176
177 fprintf(stderr, " -c cipher Select encryption algorithm: " 177 fprintf(stderr, " -c cipher Select encryption algorithm\n");
178 "``3des'', ``blowfish''\n");
179 fprintf(stderr, " -m macs Specify MAC algorithms for protocol version 2.\n"); 178 fprintf(stderr, " -m macs Specify MAC algorithms for protocol version 2.\n");
180 fprintf(stderr, " -p port Connect to this port. Server must be on the same port.\n"); 179 fprintf(stderr, " -p port Connect to this port. Server must be on the same port.\n");
181 fprintf(stderr, " -L listen-port:host:port Forward local port to remote address\n"); 180 fprintf(stderr, " -L listen-port:host:port Forward local port to remote address\n");
@@ -191,7 +190,7 @@ usage(void)
191 fprintf(stderr, " -6 Use IPv6 only.\n"); 190 fprintf(stderr, " -6 Use IPv6 only.\n");
192 fprintf(stderr, " -o 'option' Process the option as if it was read from a configuration file.\n"); 191 fprintf(stderr, " -o 'option' Process the option as if it was read from a configuration file.\n");
193 fprintf(stderr, " -s Invoke command (mandatory) as SSH2 subsystem.\n"); 192 fprintf(stderr, " -s Invoke command (mandatory) as SSH2 subsystem.\n");
194 fprintf(stderr, " -b Local IP address.\n"); 193 fprintf(stderr, " -b addr Local IP address.\n");
195 exit(1); 194 exit(1);
196} 195}
197 196