diff options
author | Damien Miller <djm@mindrot.org> | 2000-05-30 13:44:51 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-05-30 13:44:51 +1000 |
commit | b1715dc0cf5ea91707b437310f63b17bed2dc7a6 (patch) | |
tree | f7fe557697d12b37c6be6a97c6ce083d23fd07de /ssh.c | |
parent | 9448c002db7427058ecca76760f3a75e379bf0a1 (diff) |
- OpenBSD CVS updates:
- markus@cvs.openbsd.org
[session.c]
make x11-fwd work w/ localhost (xauth add host/unix:11)
[cipher.c compat.c readconf.c servconf.c]
check strtok() != NULL; ok niels@
[key.c]
fix key_read() for uuencoded keys w/o '='
[serverloop.c]
group ssh1 vs. ssh2 in serverloop
[kex.c kex.h myproposal.h sshconnect2.c sshd.c]
split kexinit/kexdh, factor out common code
[readconf.c ssh.1 ssh.c]
forwardagent defaults to no, add ssh -A
- theo@cvs.openbsd.org
[session.c]
just some line shortening
Diffstat (limited to 'ssh.c')
-rw-r--r-- | ssh.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -11,7 +11,7 @@ | |||
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include "includes.h" | 13 | #include "includes.h" |
14 | RCSID("$Id: ssh.c,v 1.32 2000/05/20 05:22:37 damien Exp $"); | 14 | RCSID("$Id: ssh.c,v 1.33 2000/05/30 03:44:54 damien Exp $"); |
15 | 15 | ||
16 | #include <openssl/evp.h> | 16 | #include <openssl/evp.h> |
17 | #include <openssl/dsa.h> | 17 | #include <openssl/dsa.h> |
@@ -116,6 +116,7 @@ usage() | |||
116 | fprintf(stderr, "Options:\n"); | 116 | fprintf(stderr, "Options:\n"); |
117 | fprintf(stderr, " -l user Log in using this user name.\n"); | 117 | fprintf(stderr, " -l user Log in using this user name.\n"); |
118 | fprintf(stderr, " -n Redirect input from /dev/null.\n"); | 118 | fprintf(stderr, " -n Redirect input from /dev/null.\n"); |
119 | fprintf(stderr, " -A Enable authentication agent forwarding.\n"); | ||
119 | fprintf(stderr, " -a Disable authentication agent forwarding.\n"); | 120 | fprintf(stderr, " -a Disable authentication agent forwarding.\n"); |
120 | #ifdef AFS | 121 | #ifdef AFS |
121 | fprintf(stderr, " -k Disable Kerberos ticket and AFS token forwarding.\n"); | 122 | fprintf(stderr, " -k Disable Kerberos ticket and AFS token forwarding.\n"); |
@@ -315,6 +316,9 @@ main(int ac, char **av) | |||
315 | case 'a': | 316 | case 'a': |
316 | options.forward_agent = 0; | 317 | options.forward_agent = 0; |
317 | break; | 318 | break; |
319 | case 'A': | ||
320 | options.forward_agent = 1; | ||
321 | break; | ||
318 | #ifdef AFS | 322 | #ifdef AFS |
319 | case 'k': | 323 | case 'k': |
320 | options.kerberos_tgt_passing = 0; | 324 | options.kerberos_tgt_passing = 0; |