1 |
snetram |
1.1 |
diff -up e-smith-openssh-2.2.0/root/etc/e-smith/templates/etc/ssh/sshd_config/60ClientAliveCountMax.ClientAliveParameters e-smith-openssh-2.2.0/root/etc/e-smith/templates/etc/ssh/sshd_config/60ClientAliveCountMax |
2 |
|
|
--- e-smith-openssh-2.2.0/root/etc/e-smith/templates/etc/ssh/sshd_config/60ClientAliveCountMax.ClientAliveParameters 2011-03-01 21:20:50.000000000 +0100 |
3 |
|
|
+++ e-smith-openssh-2.2.0/root/etc/e-smith/templates/etc/ssh/sshd_config/60ClientAliveCountMax 2011-03-01 21:23:59.000000000 +0100 |
4 |
|
|
@@ -0,0 +1,5 @@ |
5 |
|
|
+{ |
6 |
|
|
+ my $count = $sshd{ClientAliveCountMax} || 3; |
7 |
|
|
+ $OUT = "ClientAliveCountMax $count\n"; |
8 |
|
|
+} |
9 |
|
|
+ |
10 |
|
|
diff -up e-smith-openssh-2.2.0/root/etc/e-smith/templates/etc/ssh/sshd_config/60ClientAliveInterval.ClientAliveParameters e-smith-openssh-2.2.0/root/etc/e-smith/templates/etc/ssh/sshd_config/60ClientAliveInterval |
11 |
|
|
--- e-smith-openssh-2.2.0/root/etc/e-smith/templates/etc/ssh/sshd_config/60ClientAliveInterval.ClientAliveParameters 2011-03-01 21:20:57.000000000 +0100 |
12 |
|
|
+++ e-smith-openssh-2.2.0/root/etc/e-smith/templates/etc/ssh/sshd_config/60ClientAliveInterval 2011-03-01 21:23:30.000000000 +0100 |
13 |
|
|
@@ -0,0 +1,5 @@ |
14 |
|
|
+{ |
15 |
|
|
+ my $interval = $sshd{ClientAliveInterval} || 15; |
16 |
|
|
+ $OUT = "ClientAliveInterval $interval\n"; |
17 |
|
|
+} |
18 |
|
|
+ |