Written for fairly adept technical users, preferably of Debian GNU/Linux, not for absolute beginners.
|
You'll probably be working with a single smartcard, so you'll want only one primary key ( |
| #!/bin/bash | |
| # https://gist.github.com/koenpunt/40c0b042c453a1add0e8 | |
| # | |
| # Check if the user is in the right group | |
| # and afterwards retrieve the SSH public key from LDAP | |
| # Logs directly in Syslog | |
| # requires ldap-utils | |
| # | |
| # sshd_config for OpenSSH 6.2 or higher: | |
| # |