Files
openssh/sshd@.service
Hans Petter Jansson 739aa15d50 Accepting request 1303317 from home:ldragon:branches:network
- Update sshd@.service to match upstream more closely, to enable support for ephemeral sshd keys
- add openssh-9.6p1-pam-rhost.patch which fixes a performance issue where pam can do a reverse dns query of "UNKNOWN" which times out multiple times, causing a substantial slowdown when logging in. (bsc#1249352)

OBS-URL: https://build.opensuse.org/request/show/1303317
OBS-URL: https://build.opensuse.org/package/show/network/openssh?expand=0&rev=294
2025-09-10 14:47:12 +00:00

13 lines
480 B
Desktop File

[Unit]
Description=OpenSSH Per-Connection Server Daemon
Documentation=man:systemd-ssh-generator(8) man:sshd(8)
After=network.target
[Service]
EnvironmentFile=-/etc/sysconfig/ssh
ExecStartPre=/usr/sbin/sshd-gen-keys-start
ExecStartPre=/usr/sbin/sshd -t $SSHD_OPTS
ExecStart=-/usr/sbin/sshd -i $SSHD_OPTS -o "AuthorizedKeysFile ${CREDENTIALS_DIRECTORY}/ssh.ephemeral-authorized_keys-all .ssh/authorized_keys"
StandardInput=socket
ImportCredential=ssh.ephemeral-authorized_keys-all