mirror of
https://github.com/systemd/systemd.git
synced 2025-09-10 22:52:49 +02:00
ssh-generator: support ssh.ephemeral-key.all-users
This commit is contained in:
@@ -108,8 +108,9 @@ static int make_sshd_template_unit(
|
||||
"Description=OpenSSH Per-Connection Server Daemon\n"
|
||||
"Documentation=man:systemd-ssh-generator(8) man:sshd(8)\n"
|
||||
"[Service]\n"
|
||||
"ExecStart=-%s -i\n"
|
||||
"StandardInput=socket",
|
||||
"ExecStart=-%s -i -o \"AuthorizedKeysFile ${CREDENTIALS_DIRECTORY}/ssh.ephemeral-authorized_keys-all .ssh/authorized_keys\"\n"
|
||||
"StandardInput=socket\n"
|
||||
"ImportCredential=ssh.ephemeral-authorized_keys-all",
|
||||
sshd_binary);
|
||||
|
||||
r = fflush_and_check(f);
|
||||
|
||||
Reference in New Issue
Block a user