sshd-makecerts: RSA1 (ssh 1) is no longer supported causing sshd startup error [release 7.1p1-2mamba;Sat Oct 10 2015]
This commit is contained in:
parent
3e761c605e
commit
b0920f7a13
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
RSA1_KEY=/etc/ssh/ssh_host_key
|
#RSA1_KEY=/etc/ssh/ssh_host_key
|
||||||
RSA_KEY=/etc/ssh/ssh_host_rsa_key
|
RSA_KEY=/etc/ssh/ssh_host_rsa_key
|
||||||
DSA_KEY=/etc/ssh/ssh_host_dsa_key
|
DSA_KEY=/etc/ssh/ssh_host_dsa_key
|
||||||
ECDSA_KEY=/etc/ssh/ssh_host_ecdsa_key
|
ECDSA_KEY=/etc/ssh/ssh_host_ecdsa_key
|
||||||
@ -8,19 +8,19 @@ ED25519_KEY=/etc/ssh/ssh_host_ed25519_key
|
|||||||
|
|
||||||
KEYGEN=/usr/bin/ssh-keygen
|
KEYGEN=/usr/bin/ssh-keygen
|
||||||
|
|
||||||
function do_rsa1_keygen
|
#function do_rsa1_keygen
|
||||||
{
|
#{
|
||||||
if [ ! -s $RSA1_KEY ]; then
|
# if [ ! -s $RSA1_KEY ]; then
|
||||||
echo -n $"Generating SSH1 RSA host key: "
|
# echo -n $"Generating SSH1 RSA host key: "
|
||||||
if $KEYGEN -q -t rsa1 -f $RSA1_KEY -C '' -N '' >&/dev/null; then
|
# if $KEYGEN -q -t rsa1 -f $RSA1_KEY -C '' -N '' >&/dev/null; then
|
||||||
chmod 600 $RSA1_KEY
|
# chmod 600 $RSA1_KEY
|
||||||
chmod 644 $RSA1_KEY.pub
|
# chmod 644 $RSA1_KEY.pub
|
||||||
else
|
# else
|
||||||
echo $"RSA1 key generation failed!"
|
# echo $"RSA1 key generation failed!"
|
||||||
exit 1
|
# exit 1
|
||||||
fi
|
# fi
|
||||||
fi
|
# fi
|
||||||
}
|
#}
|
||||||
|
|
||||||
function do_rsa_keygen
|
function do_rsa_keygen
|
||||||
{
|
{
|
||||||
@ -80,7 +80,6 @@ function do_ed25519_keygen
|
|||||||
|
|
||||||
# Create keys if necessary
|
# Create keys if necessary
|
||||||
do_rsa_keygen
|
do_rsa_keygen
|
||||||
do_rsa1_keygen
|
|
||||||
do_dsa_keygen
|
do_dsa_keygen
|
||||||
do_ecdsa_keygen
|
do_ecdsa_keygen
|
||||||
do_ed25519_keygen
|
do_ed25519_keygen
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
Name: openssh
|
Name: openssh
|
||||||
Version: 7.1p1
|
Version: 7.1p1
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: OpenSSH free Secure Shell (SSH) implementation
|
Summary: OpenSSH free Secure Shell (SSH) implementation
|
||||||
Group: Network/Security
|
Group: Network/Security
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -292,6 +292,9 @@ exit 0
|
|||||||
%{_libexecdir}/openssh/ssh-askpass
|
%{_libexecdir}/openssh/ssh-askpass
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Oct 10 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 7.1p1-2mamba
|
||||||
|
- sshd-makecerts: RSA1 (ssh 1) is no longer supported causing sshd startup error
|
||||||
|
|
||||||
* Fri Aug 21 2015 Automatic Build System <autodist@mambasoft.it> 7.1p1-1mamba
|
* Fri Aug 21 2015 Automatic Build System <autodist@mambasoft.it> 7.1p1-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user