Displaying 1 result from an estimated 1 matches for "rsa_found".
Did you mean:
dsa_found
2001 Jul 29
1
add version 2 identities by default, too
...sizeof dsa_name, "%s/%s", pw->pw_dir, _PATH_SSH_CLIENT_ID_DSA);
+ if (!pw) {
+ fprintf(stderr, "No user found with uid %u\n",
+ (u_int)getuid());
+ ssh_close_authentication_connection(ac);
+ exit(1);
+ } else {
+ int identity_found = !access(identity_name, R_OK);
+ int rsa_found = !access(rsa_name, R_OK);
+ int dsa_found = !access(dsa_name, R_OK);
+
+ if (!(identity_found || rsa_found || dsa_found)) {
+ fprintf(stderr,
+ "No files specified, and unable to find one of:\n%s\n%s\n%s\n",
+
+ identity_name,
+ rsa_name,
+ dsa_name);
+ ssh_close_au...