diff options
author | Darren Tucker <dtucker@zip.com.au> | 2007-06-12 23:43:16 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2007-06-12 23:43:16 +1000 |
commit | 415bddc1bdd2d0be418ab82520512d77643c05b0 (patch) | |
tree | e5fc5dc49cc7950b2eb26573430fa7d1722f8f0c | |
parent | 2cbec749d76e73be167bc600ba4c5886b607eab2 (diff) |
- djm@cvs.openbsd.org 2007/06/12 11:15:17
[ssh.c ssh.1]
Add "-K" flag for ssh to set GSSAPIAuthentication=yes and
GSSAPIDelegateCredentials=yes. This is symmetric with -k (disable GSSAPI)
and is useful for hosts with /home on Kerberised NFS; bz #1312
patch from Markus.Kuhn AT cl.cam.ac.uk; ok dtucker@ markus@
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | ssh.1 | 7 | ||||
-rw-r--r-- | ssh.c | 10 |
3 files changed, 19 insertions, 6 deletions
@@ -23,6 +23,12 @@ | |||
23 | fix slave exit value when a control master goes away without passing the | 23 | fix slave exit value when a control master goes away without passing the |
24 | full exit status by ensuring that the slave reads a full int. bz#1261 | 24 | full exit status by ensuring that the slave reads a full int. bz#1261 |
25 | reported by frekko AT gmail.com; ok markus@ dtucker@ | 25 | reported by frekko AT gmail.com; ok markus@ dtucker@ |
26 | - djm@cvs.openbsd.org 2007/06/12 11:15:17 | ||
27 | [ssh.c ssh.1] | ||
28 | Add "-K" flag for ssh to set GSSAPIAuthentication=yes and | ||
29 | GSSAPIDelegateCredentials=yes. This is symmetric with -k (disable GSSAPI) | ||
30 | and is useful for hosts with /home on Kerberised NFS; bz #1312 | ||
31 | patch from Markus.Kuhn AT cl.cam.ac.uk; ok dtucker@ markus@ | ||
26 | 32 | ||
27 | 20070611 | 33 | 20070611 |
28 | - (djm) Bugzilla #1306: silence spurious error messages from hang-on-exit | 34 | - (djm) Bugzilla #1306: silence spurious error messages from hang-on-exit |
@@ -3037,4 +3043,4 @@ | |||
3037 | OpenServer 6 and add osr5bigcrypt support so when someone migrates | 3043 | OpenServer 6 and add osr5bigcrypt support so when someone migrates |
3038 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ | 3044 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ |
3039 | 3045 | ||
3040 | $Id: ChangeLog,v 1.4693 2007/06/12 13:41:33 dtucker Exp $ | 3046 | $Id: ChangeLog,v 1.4694 2007/06/12 13:43:16 dtucker Exp $ |
@@ -34,8 +34,8 @@ | |||
34 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 34 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
35 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 35 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
36 | .\" | 36 | .\" |
37 | .\" $OpenBSD: ssh.1,v 1.268 2007/06/07 19:37:34 pvalchev Exp $ | 37 | .\" $OpenBSD: ssh.1,v 1.269 2007/06/12 11:15:17 djm Exp $ |
38 | .Dd $Mdocdate: June 7 2007 $ | 38 | .Dd $Mdocdate: June 11 2007 $ |
39 | .Dt SSH 1 | 39 | .Dt SSH 1 |
40 | .Os | 40 | .Os |
41 | .Sh NAME | 41 | .Sh NAME |
@@ -315,6 +315,9 @@ It is possible to have multiple | |||
315 | .Fl i | 315 | .Fl i |
316 | options (and multiple identities specified in | 316 | options (and multiple identities specified in |
317 | configuration files). | 317 | configuration files). |
318 | .It Fl K | ||
319 | Enables GSSAPI-based authentication and forwarding (delegation) of GSSAPI | ||
320 | credentials to the server. | ||
318 | .It Fl k | 321 | .It Fl k |
319 | Disables forwarding (delegation) of GSSAPI credentials to the server. | 322 | Disables forwarding (delegation) of GSSAPI credentials to the server. |
320 | .It Fl L Xo | 323 | .It Fl L Xo |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh.c,v 1.296 2007/06/12 11:11:08 djm Exp $ */ | 1 | /* $OpenBSD: ssh.c,v 1.297 2007/06/12 11:15:17 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -185,7 +185,7 @@ static void | |||
185 | usage(void) | 185 | usage(void) |
186 | { | 186 | { |
187 | fprintf(stderr, | 187 | fprintf(stderr, |
188 | "usage: ssh [-1246AaCfgkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec]\n" | 188 | "usage: ssh [-1246AaCfgKkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec]\n" |
189 | " [-D [bind_address:]port] [-e escape_char] [-F configfile]\n" | 189 | " [-D [bind_address:]port] [-e escape_char] [-F configfile]\n" |
190 | " [-i identity_file] [-L [bind_address:]port:host:hostport]\n" | 190 | " [-i identity_file] [-L [bind_address:]port:host:hostport]\n" |
191 | " [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]\n" | 191 | " [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]\n" |
@@ -272,7 +272,7 @@ main(int ac, char **av) | |||
272 | 272 | ||
273 | again: | 273 | again: |
274 | while ((opt = getopt(ac, av, | 274 | while ((opt = getopt(ac, av, |
275 | "1246ab:c:e:fgi:kl:m:no:p:qstvxACD:F:I:L:MNO:PR:S:TVw:XY")) != -1) { | 275 | "1246ab:c:e:fgi:kl:m:no:p:qstvxACD:F:I:KL:MNO:PR:S:TVw:XY")) != -1) { |
276 | switch (opt) { | 276 | switch (opt) { |
277 | case '1': | 277 | case '1': |
278 | options.protocol = SSH_PROTO_1; | 278 | options.protocol = SSH_PROTO_1; |
@@ -326,6 +326,10 @@ main(int ac, char **av) | |||
326 | case 'k': | 326 | case 'k': |
327 | options.gss_deleg_creds = 0; | 327 | options.gss_deleg_creds = 0; |
328 | break; | 328 | break; |
329 | case 'K': | ||
330 | options.gss_authentication = 1; | ||
331 | options.gss_deleg_creds = 1; | ||
332 | break; | ||
329 | case 'i': | 333 | case 'i': |
330 | if (stat(optarg, &st) < 0) { | 334 | if (stat(optarg, &st) < 0) { |
331 | fprintf(stderr, "Warning: Identity file %s " | 335 | fprintf(stderr, "Warning: Identity file %s " |