search for: num_identity_files2

Displaying 2 results from an estimated 2 matches for "num_identity_files2".

Did you mean: num_identity_files
2000 Sep 27
1
-i doesn't work for v2 DSA keys
...oesn't indicate that this is supported for DSA keys, it also doesn't indicate very clearly that its _not_. Indeed, in ssh.c:main(), the "-i" only increments and sets: options.options.num_identity_files options.identity_files where it would need to modify: options.options.num_identity_files2 options.identity_files2 for DSA keys. I don't know whether "-i" is supposed to support only RSA keys, but it should probably support passing DSA key file names in some fashion (either with "-i", or a different argument letter). I'd submit a patch, but I don't kn...
2000 Dec 21
1
Patch to allow DSA as well as RSA identities to be specified on the command line
...DENTITY_FILES); options.identity_files[options.num_identity_files++] = + xstrdup(optarg); + break; + case 'I': + if (stat(optarg, &st) < 0) { + fprintf(stderr, "Warning: DSA identity file %s does not exist.\n", + optarg); + break; + } + if (options.num_identity_files2 >= SSH_MAX_IDENTITY_FILES) + fatal("Too many DSA identity files specified (max %d)", + SSH_MAX_IDENTITY_FILES); + options.identity_files2[options.num_identity_files2++] = xstrdup(optarg); break; --------------------------------------------------------------------...