Commit Graph

11 Commits

Author SHA1 Message Date
194a71e968
Support multiple keys per user
In use cases where one user is supposed to be reachable with multiple
public keys, but where each public key should only have access to a
specific set of commands, the variable $SSH_USER_AUTH will be considered
together with colon separated username->key pairs in the configuration
to determine the set of commands to use.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-10-20 15:49:24 +02:00
3bed7bad11
Anchoring
For better security out of the box, always perform exact matching unless
a more lenient pattern is explicitly provided by the administrator.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-09-15 18:34:57 +02:00
67f5059b36
Configuration directory/file in RPM
Create and own the configuration directory a user is expected to place
files in.
Move the example configuration to the canonical package document
directory as it is not a configuration to be used as is.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-09-13 21:31:37 +02:00
9c9b06fb4d
Create man1
Ensure full path leading to man page is created before attempting to
install the file there.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-09-13 21:25:16 +02:00
37a27c70cf
Add spec file
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-09-13 21:21:10 +02:00
3769ec68d2
Reference manpage in README
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-09-11 20:57:04 +02:00
68b17586b3
Makefile
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-09-11 20:56:24 +02:00
52e47f5c4d
Manual page
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-09-11 20:48:32 +02:00
8855996660
Example configuration
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-09-11 20:35:20 +02:00
d82ad3bf32
Initial code
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-09-11 20:29:31 +02:00
0476874fe4
Initial commit
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-09-11 20:18:07 +02:00