9 lines
183 B
Plaintext
9 lines
183 B
Plaintext
|
#!/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"
|
||
|
ssh-keygen -A
|
||
|
fi
|