aboutsummaryrefslogtreecommitdiff
path: root/add-authorized-keys
AgeCommit message (Collapse)Author
2022-12-11Update Copyright years and accentuate my nameRafael Laboissière
2022-12-11Use mktemp instead of the deprecated tempfile commandRafael Laboissière
2016-01-21Allow the inclusion of RSA keys with read-only accessRafael Laboissiere
This is accomplished by using option 'command="..."' that precede the key sting in the authorized_keys file. The add-authorized-keys script accepts now the -r option for enabling the inclusion of the option above. The included option is actually 'command="read-only"', which points to a new script named read-only that is installed in the git-shell-commands directory of the Git user's login directory. This is done in the add-git-user script. Also, this commit makes some improvement in the code. The add-authorized-keys script has now a usage function and accepts a -h option. The add-git-user script has been better documented
2015-05-09Initial commitRafael Laboissiere