/[smeserver]/rpms/e-smith-openssh/sme9/e-smith-openssh-2.4.0-protocol_2.patch
ViewVC logotype

Annotation of /rpms/e-smith-openssh/sme9/e-smith-openssh-2.4.0-protocol_2.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Fri Nov 1 04:26:28 2013 UTC (11 years ago) by burnat
Branch: MAIN
CVS Tags: e-smith-openssh-2_4_0-4_el6_sme, e-smith-openssh-2_4_0-5_el6_sme, e-smith-openssh-2_4_0-3_el6_sme, e-smith-openssh-2_4_0-6_el6_sme, HEAD
* Fri Nov 1 2013 Chris Burnat <devlist@burnat.com> 2.4.0-3.sme
- Remove SSH v1 legacy support - patch by Daniel Berteaud [SME: 6381]

1 burnat 1.1 diff -Nur e-smith-openssh-2.4.0/root/etc/e-smith/db/configuration/defaults/sshd/Protocol e-smith-openssh-2.4.0_bz6381/root/etc/e-smith/db/configuration/defaults/sshd/Protocol
2     --- e-smith-openssh-2.4.0/root/etc/e-smith/db/configuration/defaults/sshd/Protocol 2006-03-14 18:15:45.000000000 +0100
3     +++ e-smith-openssh-2.4.0_bz6381/root/etc/e-smith/db/configuration/defaults/sshd/Protocol 1970-01-01 01:00:00.000000000 +0100
4     @@ -1 +0,0 @@
5     -2
6     diff -Nur e-smith-openssh-2.4.0/root/etc/e-smith/db/configuration/migrate/sshd.protocol e-smith-openssh-2.4.0_bz6381/root/etc/e-smith/db/configuration/migrate/sshd.protocol
7     --- e-smith-openssh-2.4.0/root/etc/e-smith/db/configuration/migrate/sshd.protocol 2006-03-14 18:15:45.000000000 +0100
8     +++ e-smith-openssh-2.4.0_bz6381/root/etc/e-smith/db/configuration/migrate/sshd.protocol 1970-01-01 01:00:00.000000000 +0100
9     @@ -1,9 +0,0 @@
10     -{
11     - my $sshd = $DB->get('sshd');
12     - return '' unless $sshd;
13     - my $protocol = $sshd->prop('Protocol');
14     - return '' if $protocol;
15     -
16     - # Add backwards compatible mode for upgrades
17     - $sshd->merge_props( Protocol => '2,1' );
18     -}
19     diff -Nur e-smith-openssh-2.4.0/root/etc/e-smith/templates/etc/ssh/sshd_config/20KeyRegenerationInterval e-smith-openssh-2.4.0_bz6381/root/etc/e-smith/templates/etc/ssh/sshd_config/20KeyRegenerationInterval
20     --- e-smith-openssh-2.4.0/root/etc/e-smith/templates/etc/ssh/sshd_config/20KeyRegenerationInterval 2002-02-14 21:51:15.000000000 +0100
21     +++ e-smith-openssh-2.4.0_bz6381/root/etc/e-smith/templates/etc/ssh/sshd_config/20KeyRegenerationInterval 1970-01-01 01:00:00.000000000 +0100
22     @@ -1 +0,0 @@
23     -KeyRegenerationInterval 3600
24     diff -Nur e-smith-openssh-2.4.0/root/etc/e-smith/templates/etc/ssh/sshd_config/20Protocol e-smith-openssh-2.4.0_bz6381/root/etc/e-smith/templates/etc/ssh/sshd_config/20Protocol
25     --- e-smith-openssh-2.4.0/root/etc/e-smith/templates/etc/ssh/sshd_config/20Protocol 2006-03-14 18:15:45.000000000 +0100
26     +++ e-smith-openssh-2.4.0_bz6381/root/etc/e-smith/templates/etc/ssh/sshd_config/20Protocol 2013-09-28 18:12:41.942065627 +0200
27     @@ -1,4 +1 @@
28     -{
29     - my $protocol = $sshd{Protocol} || "2";
30     - "Protocol $protocol";
31     -}
32     +Protocol 2
33     diff -Nur e-smith-openssh-2.4.0/root/etc/e-smith/templates/etc/ssh/sshd_config/20ServerKeyBits e-smith-openssh-2.4.0_bz6381/root/etc/e-smith/templates/etc/ssh/sshd_config/20ServerKeyBits
34     --- e-smith-openssh-2.4.0/root/etc/e-smith/templates/etc/ssh/sshd_config/20ServerKeyBits 2002-02-14 21:51:15.000000000 +0100
35     +++ e-smith-openssh-2.4.0_bz6381/root/etc/e-smith/templates/etc/ssh/sshd_config/20ServerKeyBits 1970-01-01 01:00:00.000000000 +0100
36     @@ -1 +0,0 @@
37     -ServerKeyBits 768
38     diff -Nur e-smith-openssh-2.4.0/root/etc/e-smith/templates/etc/ssh/sshd_config/40RhostsRSAAuthentication e-smith-openssh-2.4.0_bz6381/root/etc/e-smith/templates/etc/ssh/sshd_config/40RhostsRSAAuthentication
39     --- e-smith-openssh-2.4.0/root/etc/e-smith/templates/etc/ssh/sshd_config/40RhostsRSAAuthentication 2002-02-14 21:51:15.000000000 +0100
40     +++ e-smith-openssh-2.4.0_bz6381/root/etc/e-smith/templates/etc/ssh/sshd_config/40RhostsRSAAuthentication 1970-01-01 01:00:00.000000000 +0100
41     @@ -1,5 +0,0 @@
42     -{
43     -#
44     -# For this to work you will also need host keys in /etc/ssh_known_hosts
45     -}
46     -RhostsRSAAuthentication no
47     diff -Nur e-smith-openssh-2.4.0/root/etc/e-smith/templates/etc/ssh/sshd_config/40RSAAuthentication e-smith-openssh-2.4.0_bz6381/root/etc/e-smith/templates/etc/ssh/sshd_config/40RSAAuthentication
48     --- e-smith-openssh-2.4.0/root/etc/e-smith/templates/etc/ssh/sshd_config/40RSAAuthentication 2002-02-14 21:51:15.000000000 +0100
49     +++ e-smith-openssh-2.4.0_bz6381/root/etc/e-smith/templates/etc/ssh/sshd_config/40RSAAuthentication 1970-01-01 01:00:00.000000000 +0100
50     @@ -1 +0,0 @@
51     -RSAAuthentication yes

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed