Home | History | Annotate | Download | only in openssh

Lines Matching defs:file

201 match_principals_file(char *file, struct passwd *pw, struct KeyCert *cert)
203 FILE *f;
209 debug("trying authorized principals file %s", file);
210 if ((f = auth_openprincipals(file, pw, options.strict_modes)) == NULL) {
214 while (read_keyfile_line(f, file, line, sizeof(line), &linenum) != -1) {
241 debug3("matched principal from file \"%.100s\"",
244 file, linenum) != 1)
259 user_key_allowed2(struct passwd *pw, Key *key, char *file)
264 FILE *f;
272 debug("trying public key file %s", file);
273 f = auth_openkeyfile(file, pw, options.strict_modes);
283 while (read_keyfile_line(f, file, line, sizeof(line), &linenum) != -1) {
317 if (auth_parse_options(pw, key_options, file,
324 debug("matching CA found: file %s, line %lu, %s %s",
325 file, linenum, key_type(found), fp);
352 key_type(found), fp, file);
357 if (auth_parse_options(pw, key_options, file,
363 debug("matching key found: file %s, line %lu",
364 file, linenum);
403 * principals against the names in that file rather than matching
440 char *file;
452 file = expand_authorized_keys(
454 success = user_key_allowed2(pw, key, file);
455 xfree(file);