sshd doesn't set SSH_AUTH_RHOSTS as supported authentication
Jim Knoble
jmknoble at pobox.com
Fri Jan 14 08:06:42 EST 2000
På 2000-Jan-13 klokka 15:22:33 -0400 skrivet Marc G. Fournier:
: Now, in servconf.c, options.rhosts_authentication is set to 0 if
^^^^^^^^^^^^^^^^^^^^^
: IgnoreRhosts is no:
:
: case sIgnoreRhosts:
: intptr = &options->ignore_rhosts;
^^^^^^^^^^^^^
: parse_flag:
: cp = strtok(NULL, WHITESPACE);
: fprintf(stderr, "sIgnoreRhosts triggered as %s\n", cp);
: if (!cp) {
: fprintf(stderr, "%s line %d: missing yes/no argument.\n",
: filename, linenum);
: exit(1);
: }
: if (strcmp(cp, "yes") == 0)
: value = 1;
: else if (strcmp(cp, "no") == 0)
: value = 0;
: else {
: fprintf(stderr, "%s line %d: Bad yes/no argument: %s\n",
: filename, linenum, cp);
: exit(1);
: }
: if (*intptr == -1)
: *intptr = value;
: break;
I might be wrong, but i don't see options.rhosts_authentication being
set in the code snippet above.
--
jim knoble
jmknoble at pobox.com
More information about the openssh-unix-dev
mailing list