search for: authorizedkeys2file

Displaying 1 result from an estimated 1 matches for "authorizedkeys2file".

Did you mean: authorized_keys_file
2003 Aug 19
3
splitting big authorized_keys files
...wouldn't differentiate between my users, as the target-user is always the same. One solution would be to have a %2p, which would take 2 characters of the public-key (preferably the last two - the first two won't differ much :-) and use that in a AuthorizedKeysFile-statement, and leaving AuthorizedKeys2File as-is - so the normal login procedure would go and use ~/.ssh/authorized_keys2 as usual, but it would try and use eg for "%h/.ssh/authorized_keys_%2p" a file ~/.ssh/authorized_keys_A2 or whatever and find there only the matching subset of keys. So the authorized_keys-file could be spl...