diff options
| author | Jonathan Bauer | 2015-02-09 17:32:57 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2015-02-09 17:32:57 +0100 |
| commit | edff8dc5d0fb7c88942c451a1b1e6d1b426f6a0e (patch) | |
| tree | 57306720aa6ed9a5df65806438603df0705f5343 /remote/modules/ssh-auth-keys/data/etc/systemd | |
| parent | [systemd] force reset on the tty before it is spawned (diff) | |
| download | tm-scripts-edff8dc5d0fb7c88942c451a1b1e6d1b426f6a0e.tar.gz tm-scripts-edff8dc5d0fb7c88942c451a1b1e6d1b426f6a0e.tar.xz tm-scripts-edff8dc5d0fb7c88942c451a1b1e6d1b426f6a0e.zip | |
[ssh-auth-keys] static module to copy keys from /root/.ssh/authorized_keys.d/ into /root/.ssh/authorized_keys
Diffstat (limited to 'remote/modules/ssh-auth-keys/data/etc/systemd')
| l--------- | remote/modules/ssh-auth-keys/data/etc/systemd/system/basic.target.wants/ssh-auth-keys | 1 | ||||
| -rw-r--r-- | remote/modules/ssh-auth-keys/data/etc/systemd/system/ssh-auth-keys | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/remote/modules/ssh-auth-keys/data/etc/systemd/system/basic.target.wants/ssh-auth-keys b/remote/modules/ssh-auth-keys/data/etc/systemd/system/basic.target.wants/ssh-auth-keys new file mode 120000 index 00000000..ea20ff73 --- /dev/null +++ b/remote/modules/ssh-auth-keys/data/etc/systemd/system/basic.target.wants/ssh-auth-keys @@ -0,0 +1 @@ +../ssh-auth-keys
\ No newline at end of file diff --git a/remote/modules/ssh-auth-keys/data/etc/systemd/system/ssh-auth-keys b/remote/modules/ssh-auth-keys/data/etc/systemd/system/ssh-auth-keys new file mode 100644 index 00000000..14b12bc5 --- /dev/null +++ b/remote/modules/ssh-auth-keys/data/etc/systemd/system/ssh-auth-keys @@ -0,0 +1,9 @@ +[Unit] +Description=Enable SSH keys in authorized_keys.d/ folder +Wants=basic.target +Before=basic.target + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/opt/openslx/scripts/systemd-ssh_auth_keys |
