openssh/sshd-gen-keys-start

9 lines
151 B
Plaintext
Raw Normal View History

#!/bin/sh
. /etc/sysconfig/ssh
if [ "$SSHD_AUTO_KEYGEN" = "yes" ]; then
echo "Checking for missing server keys in /etc/ssh"
ssh-keygen -A
fi