| SYSTEMD-SSH-GENERATOR(8) | systemd-ssh-generator | SYSTEMD-SSH-GENERATOR(8) |
NAME
systemd-ssh-generator - Generator for binding a socket-activated SSH server to local AF_VSOCK and AF_UNIX sockets
SYNOPSIS
/usr/lib/systemd/system-generators/systemd-ssh-generator
DESCRIPTION
systemd-ssh-generator binds a socket-activated SSH server to local AF_VSOCK and AF_UNIX sockets under certain conditions. It only has an effect if the sshd(8) binary is installed. Specifically, it does the following:
See systemd-ssh-proxy(1) for details on how to connect to these sockets via the ssh client.
The ssh.authorized_keys.root credential can be used to allow specific public keys to log in over SSH. See systemd.system-credentials(7) for more information.
The generator will use a packaged sshd@.service service template file if one exists, and otherwise generate a suitable service template file.
systemd-ssh-generator implements systemd.generator(7).
KERNEL COMMAND LINE
systemd-ssh-generator understands the following kernel-command-line(7) parameters:
systemd.ssh_auto=
Added in version 256.
systemd.ssh_listen=
Added in version 256.
CREDENTIALS
systemd-ssh-generator supports the system credentials logic. The following credentials are used when passed in:
ssh.listen
Added in version 256.
ssh.ephemeral-authorized_keys-all
The intended use of this is for a host system (in either VM or container configurations) to generate a keypair and inject the public key into the guest, using the private key to connect to any user account on the guest via ssh, without further authentication.
Added in version 256.
SEE ALSO
systemd(1), kernel-command-line(7), systemd.system-credentials(7), vsock(7), unix(7), ssh(1), sshd(8)
NOTES
- 1.
- Container Interface
| systemd 260.1 |