search for: user_dsa_key_allowed

Displaying 3 results from an estimated 3 matches for "user_dsa_key_allowed".

2001 Feb 05
0
sshd can't access user files
...y with 0750 permissions owned by root.group, therefore a user can access his home directory thanks to his group ownership. After installing OpenSSH 2.3.0p1 on this system we noticed that public key authentication only worked for root. After doing some debugging we noticed that "user_dsa_key_allowed" (in auth2.c) uses "temporarily_use_uid" to access files in the home directory of the target user, this means that sshd tries to access ~/.ssh/authorized_keys2 as target_user.system (on AIX), not as target_user.group as it should, a...
2000 Jul 12
1
Problems with Port Forwarding and Password auth
..._forwarding_flag was set to 0. Which seemed odd because I set the GatewayPorts to yes, in the sshd_config. So I look further, and it seems that the no_port_forwarding_flag only is set in one place inside sshd. That is in auth_parse_options(). Unfortunately auth_parse_options() is only called by user_dsa_key_allowed() which is in turn only called by ssh2_auth_pubkey() which due to this if statement in input_userauth_request() if (pw && strcmp(service, "ssh-connection")==0) { if (strcmp(method, "none") == 0) { authenticated = ssh2_auth_none(pw); } else if (strcmp(method, &qu...
2000 Dec 28
2
sshd doesn't log which RSA key was used
Hi guys, and another feature request for sshd which I would classify as really useful. And I think this behaviour is currently not available (If yes, sorry, I must have missed it): > I believe that the sshd should log which RSA key was used to connect to > an account. When there are a number of keys in the authorized_keys file > it is often useful to know which one was used for each