2013-09-19 06:09:33 +02:00
|
|
|
#!/bin/sh
|
2019-10-15 09:47:08 +02:00
|
|
|
|
|
|
|
. /etc/sysconfig/ssh
|
|
|
|
|
2020-02-28 13:19:42 +01:00
|
|
|
if [ "x$SSHD_AUTO_KEYGEN" != "xno" ]; then
|
2013-09-19 06:09:33 +02:00
|
|
|
echo "Checking for missing server keys in /etc/ssh"
|
|
|
|
ssh-keygen -A
|
|
|
|
fi
|