user-certs renewal support added. vers -> defaults
This commit is contained in:
parent
202f8b40da
commit
9cbe617309
10 changed files with 94 additions and 39 deletions
10
files/ssh-user-cert-renew@.service
Normal file
10
files/ssh-user-cert-renew@.service
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=Renewal ssh user certificate %i
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=/etc/default/ssh-cert-renew
|
||||
EnvironmentFile=-%h/.config/ssh/cert-renew
|
||||
Type=oneshot
|
||||
ExecStart=+mkdir -p %h/.config/ssh
|
||||
ExecStart=/usr/local/bin/timer-mail -t ${ssh_cert_mail_to} -f ${ssh_cert_mail_from} -s "ssh certificate renewal %i" -ve \
|
||||
/etc/systemd/ssh-cert-renew ${ssh_cert_sign_host} %h/.ssh/%i
|
Loading…
Add table
Add a link
Reference in a new issue