Accepting request 914000 from home:kukuk:tiu
- sshd-gen-keys-start: - only source sysconfig file if it exists. - create /etc/ssh if it does not exists. Required for image based installation/updates. OBS-URL: https://build.opensuse.org/request/show/914000 OBS-URL: https://build.opensuse.org/package/show/network/openssh?expand=0&rev=234
This commit is contained in:
parent
76f90815e2
commit
34c2098366
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 19 10:07:10 UTC 2021 - Thorsten Kukuk <kukuk@suse.com>
|
||||||
|
|
||||||
|
- sshd-gen-keys-start:
|
||||||
|
- only source sysconfig file if it exists.
|
||||||
|
- create /etc/ssh if it does not exists.
|
||||||
|
Required for image based installation/updates.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 19 14:51:08 UTC 2021 - Cristian Rodríguez <crrodriguez@opensuse.org>
|
Mon Jul 19 14:51:08 UTC 2021 - Cristian Rodríguez <crrodriguez@opensuse.org>
|
||||||
|
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
. /etc/sysconfig/ssh
|
test -f /etc/sysconfig/ssh && . /etc/sysconfig/ssh
|
||||||
|
|
||||||
if [ "x$SSHD_AUTO_KEYGEN" != "xno" ]; then
|
if [ "x$SSHD_AUTO_KEYGEN" != "xno" ]; then
|
||||||
echo "Checking for missing server keys in /etc/ssh"
|
echo "Checking for missing server keys in /etc/ssh"
|
||||||
|
test -d /etc/ssh || mkdir -p /etc/ssh
|
||||||
ssh-keygen -A
|
ssh-keygen -A
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user