sshkeys-lint total rewrite, and gl-setup now uses it

...in "admin check" mode
This commit is contained in:
Sitaram Chamarty 2011-11-13 17:37:01 +05:30
parent ec93fc7601
commit c5f342a835
2 changed files with 158 additions and 89 deletions

View file

@ -136,3 +136,9 @@ gl-compile-conf -q
# now that the admin repo is created, you have to set the hooks properly; best
# do it by running install again
gl-install -q
# ----
# the never-ending quest to help with bloody ssh issues...
cd $GL_ADMINDIR/keydir
[ -n "$pubkey_file" ] && $GL_BINDIR/sshkeys-lint < $HOME/.ssh/authorized_keys -q -a $admin_name