search for: _path_ssh_client_id_dsa

Displaying 4 results from an estimated 4 matches for "_path_ssh_client_id_dsa".

2001 Jul 29
1
add version 2 identities by default, too
...getpwuid(getuid()); + snprintf(identity_name, sizeof identity_name, "%s/%s", pw->pw_dir, _PATH_SSH_CLIENT_IDENTITY); + snprintf(rsa_name, sizeof rsa_name, "%s/%s", pw->pw_dir, _PATH_SSH_CLIENT_ID_RSA); + snprintf(dsa_name, 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,...
2001 Mar 01
1
ssh-add won't look for id_dsa in ssh-clients-2.3.0p1-4 but did in ssh-clients-2.5.1p2-1
...sa.pub I looked in ssh-add.c from openssh-2.5.1p2-1.src.rpm from the OpenBSD rpm directory mentioned above, and I see that at line 295 it looks in _PATH_SSH_CLIENT_IDENTITY but no further. I see that readconf.c in line 810 does check options->protocol && SSH_PROTO_2 and will also check _PATH_SSH_CLIENT_ID_DSA, but this logic is not present in ssh-add. Since I don't have the CVS tree, I couldn't check to see if this log was previously present in ssh-add.c or not, or if it is a RedHat patch. Am I broken in some way to expect ssh-add simply to work with id_dsa without an explicit argument? Leigh...
2004 Aug 25
2
Default path to identity file
Hi, The name of the identity file defaults to what fill_default_options() in readconf.c does: SSH_PROTO_1: "~/%.100s", _PATH_SSH_CLIENT_IDENTITY SSH_PROTO_2: "~/%.100s", _PATH_SSH_CLIENT_ID_RSA "~/%.100s", _PATH_SSH_CLIENT_ID_DSA Identity files are always expanded by tilde_expand_filename() which gets the name of the home directory from getpwuid(my_uid)->pw_dir. This is not what I expect (well, hope :-) when my UID is 0 but I'm not root. In other words: my username is dahlem, my UID is 0, my HOME dir is /home/d...
2001 Oct 16
6
program-prefix does not work
...l 2 */ ! #define _PATH_SSH_USER_HOSTFILE2 "~/.ssh/known_hosts2" /* * Name of the default file containing client-side authentication key. This * file should only be readable by the user him/herself. */ ! #define _PATH_SSH_CLIENT_IDENTITY ".ssh/identity" ! #define _PATH_SSH_CLIENT_ID_DSA ".ssh/id_dsa" ! #define _PATH_SSH_CLIENT_ID_RSA ".ssh/id_rsa" /* * Configuration file in user\'s home directory. This file need not be --- 48,85 ---- #define _PATH_SSH_PROGRAM "/usr/bin/ssh" #endif + #ifndef _PATH_SCP_PROGRAM + #define _PATH_SCP_...