forked from pool/openssh
commented out). The keycat binary isn't really installed nor supported, so we can drop it, except for the code that is used by other SELinux patches, which is what I kept from that patch (boo#1229072). - Add patch submitted to upstream to fix RFC4256 implementation so that keyboard-interactive authentication method can send instructions and sshd shows them to users even before a prompt is requested. This fixes MFA push notifications (boo#1229010). * 0001-auth-pam-Immediately-report-instructions-to-clients-and-fix-handling-in-ssh-client.patch OBS-URL: https://build.opensuse.org/package/show/network/openssh?expand=0&rev=274
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
|