Antonio Larrosa
45f6d17800
package existed for a brief period of time during SLE 15 SP6/ Leap 15.6 development but even if it was removed from the repositories before GM, some users might have it in their systems from having tried a beta/RC release (boo#1227350). quoting was present in the user-supplied ssh_config(5) directive (bsc#1218215, CVE-2023-51385). OBS-URL: https://build.opensuse.org/package/show/network/openssh?expand=0&rev=270
10 lines
225 B
Bash
10 lines
225 B
Bash
#!/bin/sh
|
|
|
|
test -f /etc/sysconfig/ssh && . /etc/sysconfig/ssh
|
|
|
|
if [ "x$SSHD_AUTO_KEYGEN" != "xno" ]; then
|
|
echo "Checking for missing server keys in /etc/ssh"
|
|
test -d /etc/ssh || mkdir -p /etc/ssh
|
|
ssh-keygen -A
|
|
fi
|