Displaying 1 result from an estimated 1 matches for "support_local_authorized_key".
Did you mean:
support_local_authorized_keys
2007 Jul 13
1
Cygwin: store authorized_keys in /etc/ssh/user/authorized_keys?
...just to give you an
idea:
--- auth2-pubkey.c~ 2006-08-05 04:39:39.000000000 +0200
+++ auth2-pubkey.c 2007-07-13 09:07:40.000000000 +0200
@@ -282,6 +282,17 @@
file = authorized_keys_file2(pw);
success = user_key_allowed2(pw, key, file);
xfree(file);
+ if (success)
+ return success;
+
+#if SUPPORT_LOCAL_AUTHORIZED_KEYS
+ /* look in system ssh directory for authorized keys */
+ file = xmalloc(4096);
+ snprintf(file, 4096, "/etc/ssh/allowed_users/%s/authorized_keys", pw->pw_name);
+ success = user_key_allowed2(pw, key, file);
+ xfree(file);
+#endif
+
return success;
}
Please keep me on CC:, sin...