diff options
Diffstat (limited to 'contrib/suse')
-rw-r--r-- | contrib/suse/openssh.spec | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/suse/openssh.spec b/contrib/suse/openssh.spec index 7d5d087a8..0f63ef658 100644 --- a/contrib/suse/openssh.spec +++ b/contrib/suse/openssh.spec | |||
@@ -197,6 +197,10 @@ if [ ! -f /etc/ssh/ssh_host_key -o ! -s /etc/ssh/ssh_host_key ]; then | |||
197 | echo "Generating SSH host key..." | 197 | echo "Generating SSH host key..." |
198 | /usr/bin/ssh-keygen -b 1024 -f /etc/ssh/ssh_host_key -N '' >&2 | 198 | /usr/bin/ssh-keygen -b 1024 -f /etc/ssh/ssh_host_key -N '' >&2 |
199 | fi | 199 | fi |
200 | if [ ! -f /etc/ssh/ssh_host_dsa_key -o ! -s /etc/ssh/ssh_host_dsa_key ]; then | ||
201 | echo "Generating SSH DSA host key..." | ||
202 | /usr/bin/ssh-keygen -d -f /etc/ssh/ssh_host_dsa_key -N '' >&2 | ||
203 | fi | ||
200 | if test -r /var/run/sshd.pid | 204 | if test -r /var/run/sshd.pid |
201 | then | 205 | then |
202 | echo "Restarting the running SSH daemon..." | 206 | echo "Restarting the running SSH daemon..." |