forked from pool/openssh
6cd875acfc
- spec file cleanup (don't pointelssly build whole OpenSSH) - spec file and patch cleanup * removing obsoleted auditing patch (openssh-%{version}-audit.patch) - added patches from SLE * GSSAPI key exchange * FIPS enablement (currently disabled) * small bugfixes - split the LDAP helper into a separate package: openssh-akc-ldap OBS-URL: https://build.opensuse.org/request/show/199679 OBS-URL: https://build.opensuse.org/package/show/network/openssh?expand=0&rev=55
6 lines
161 B
Bash
6 lines
161 B
Bash
#!/bin/sh
|
|
if ! grep -q '^[[:space:]]*HostKey[[:space:]]' /etc/ssh/sshd_config; then
|
|
echo "Checking for missing server keys in /etc/ssh"
|
|
ssh-keygen -A
|
|
fi
|