Lines Matching refs:FILE
11 * incompatible with the protocol description in the RFC file, it must be
76 /* Flag indicating that we want to hash a known_hosts file */
78 /* Flag indicating that we want lookup a host in known_hosts file */
80 /* Flag indicating that we want to delete a host from a known_hosts file */
90 /* The identity file name, given on the command line or entered by the user. */
156 int gen_candidates(FILE *, u_int32_t, u_int32_t, BIGNUM *);
157 int prime_test(FILE *, FILE *, u_int32_t, u_int32_t);
339 ask_filename(pw, "Enter file in which the key is");
477 get_line(FILE *fp, char *line, size_t len)
515 FILE *fp;
565 FILE *fp;
604 FILE *fp;
641 ask_filename(pw, "Enter file in which the key is");
700 ask_filename(pw, "Enter file in which the key is");
744 FILE *f;
756 ask_filename(pw, "Enter file in which the key is");
843 printf("%s is not a public key file.\n", identity_file);
869 FILE *f;
942 printhost(FILE *f, const char *name, Key *public, int ca, int hash)
972 FILE *in, *out = stdout;
1131 fprintf(stderr, "%s is not a valid known_hosts file.\n",
1135 "file because of errors\n");
1145 /* Backup existing file */
1165 fprintf(stderr, "Delete this file to ensure privacy "
1186 ask_filename(pw, "Enter file in which the key is");
1191 /* Try to load the file with empty passphrase. */
1236 /* Save the file using the new passphrase. */
1266 ask_filename(pw, "Enter file in which the key is");
1288 * Change the comment of a private key file.
1297 FILE *f;
1301 ask_filename(pw, "Enter file in which the key is");
1346 /* Save the file using the new passphrase. */
1379 printf("The comment in your key file has been changed.\n");
1509 FILE *f;
1810 ask_filename(pw, "Enter file in which the key is");
1871 fprintf(stderr, " -B Show bubblebabble digest of key file.\n");
1878 fprintf(stderr, " -e Export OpenSSH to foreign format key file.\n");
1879 fprintf(stderr, " -F hostname Find hostname in known hosts file.\n");
1880 fprintf(stderr, " -f filename Filename of the key file.\n");
1881 fprintf(stderr, " -G file Generate candidates for DH-GEX moduli.\n");
1883 fprintf(stderr, " -H Hash names in known_hosts file.\n");
1886 fprintf(stderr, " -i Import foreign format to OpenSSH key file.\n");
1888 fprintf(stderr, " -l Show fingerprint of key file.\n");
1895 fprintf(stderr, " -p Change passphrase of private key file.\n");
1897 fprintf(stderr, " -R hostname Remove host from known_hosts file.\n");
1901 fprintf(stderr, " -T file Screen candidates for DH-GEX moduli.\n");
1906 fprintf(stderr, " -y Read private key file and print public key.\n");
1928 FILE *f;
2196 FILE *out = fopen(out_file, "w");
2199 error("Couldn't open modulus candidate file \"%s\": %s",
2212 FILE *in;
2213 FILE *out = fopen(out_file, "w");
2218 "file \"%s\": %s", identity_file,
2225 fatal("Couldn't open moduli file \"%s\": %s",
2256 ask_filename(pw, "Enter file in which to save the key");
2273 /* If the file already exists, ask the user to confirm. */