forked from pool/openssh
Accepting request 147498 from network
- use ssh-keygen(1) default keylengths in generating the host key instead of hardcoding it (forwarded request 147497 from dirkmueller) OBS-URL: https://build.opensuse.org/request/show/147498 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openssh?expand=0&rev=83
This commit is contained in:
commit
b6dab790f1
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package openssh-askpass-gnome
|
# spec file for package openssh-askpass-gnome
|
||||||
#
|
#
|
||||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 8 10:16:45 UTC 2013 - dmueller@suse.com
|
||||||
|
|
||||||
|
- use ssh-keygen(1) default keylengths in generating the host key
|
||||||
|
instead of hardcoding it
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 13 10:26:37 UTC 2012 - meissner@suse.com
|
Tue Nov 13 10:26:37 UTC 2012 - meissner@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package openssh
|
# spec file for package openssh
|
||||||
#
|
#
|
||||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
@ -47,7 +47,7 @@ case "$1" in
|
|||||||
if ! grep -q '^[[:space:]]*HostKey[[:space:]]' /etc/ssh/sshd_config; then
|
if ! grep -q '^[[:space:]]*HostKey[[:space:]]' /etc/ssh/sshd_config; then
|
||||||
if ! test -f /etc/ssh/ssh_host_key ; then
|
if ! test -f /etc/ssh/ssh_host_key ; then
|
||||||
echo Generating /etc/ssh/ssh_host_key.
|
echo Generating /etc/ssh/ssh_host_key.
|
||||||
ssh-keygen -t rsa1 -b 2048 -f /etc/ssh/ssh_host_key -N ''
|
ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key -N ''
|
||||||
fi
|
fi
|
||||||
if ! test -f /etc/ssh/ssh_host_dsa_key ; then
|
if ! test -f /etc/ssh/ssh_host_dsa_key ; then
|
||||||
echo Generating /etc/ssh/ssh_host_dsa_key.
|
echo Generating /etc/ssh/ssh_host_dsa_key.
|
||||||
@ -55,11 +55,11 @@ case "$1" in
|
|||||||
fi
|
fi
|
||||||
if ! test -f /etc/ssh/ssh_host_rsa_key ; then
|
if ! test -f /etc/ssh/ssh_host_rsa_key ; then
|
||||||
echo Generating /etc/ssh/ssh_host_rsa_key.
|
echo Generating /etc/ssh/ssh_host_rsa_key.
|
||||||
ssh-keygen -t rsa -b 2048 -f /etc/ssh/ssh_host_rsa_key -N ''
|
ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ''
|
||||||
fi
|
fi
|
||||||
if ! test -f /etc/ssh/ssh_host_ecdsa_key ; then
|
if ! test -f /etc/ssh/ssh_host_ecdsa_key ; then
|
||||||
echo Generating /etc/ssh/ssh_host_ecdsa_key.
|
echo Generating /etc/ssh/ssh_host_ecdsa_key.
|
||||||
ssh-keygen -t ecdsa -b 256 -f /etc/ssh/ssh_host_ecdsa_key -N ''
|
ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -N ''
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
echo -n "Starting SSH daemon"
|
echo -n "Starting SSH daemon"
|
||||||
|
Loading…
Reference in New Issue
Block a user