forked from pool/openssh
302f567739
Add openssh-8.1p1-use-openssl-kdf.patch (jsc#SLE-9443). This performs key derivation using OpenSSL's SSHKDF facility, which allows OpenSSH to benefit from the former's FIPS certification status. Make sure ssh-keygen runs if SSHD_AUTO_KEYGEN variable is unset or contains an unrecognized value (bsc#1157176). OBS-URL: https://build.opensuse.org/request/show/779739 OBS-URL: https://build.opensuse.org/package/show/network/openssh?expand=0&rev=205
9 lines
153 B
Bash
9 lines
153 B
Bash
#!/bin/sh
|
|
|
|
. /etc/sysconfig/ssh
|
|
|
|
if [ "x$SSHD_AUTO_KEYGEN" != "xno" ]; then
|
|
echo "Checking for missing server keys in /etc/ssh"
|
|
ssh-keygen -A
|
|
fi
|