summaryrefslogtreecommitdiff
path: root/security/openssh/files/patch-ao
blob: d81a41d4bc82d2c669bfa11855d3bbc1351d5ad3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
--- sshd_config.orig	Sat May 26 14:48:18 2001
+++ sshd_config	Sat May 26 15:15:11 2001
@@ -7,13 +7,13 @@
 #Protocol 2,1
 #ListenAddress 0.0.0.0
 #ListenAddress ::
-HostKey /etc/ssh_host_key
-HostKey /etc/ssh_host_rsa_key
-HostKey /etc/ssh_host_dsa_key
+HostKey /usr/local/etc/ssh_host_key
+HostKey /usr/local/etc/ssh_host_rsa_key
+HostKey /usr/local/etc/ssh_host_dsa_key
 ServerKeyBits 768
-LoginGraceTime 600
+LoginGraceTime 120
 KeyRegenerationInterval 3600
-PermitRootLogin yes
+PermitRootLogin no
 #
 # Don't read ~/.rhosts and ~/.shosts files
 IgnoreRhosts yes
@@ -57,10 +57,10 @@
 #KerberosTgtPassing yes
 
 #CheckMail yes
-#UseLogin no
+UseLogin no
 
-#MaxStartups 10:30:60
+MaxStartups 10:30:60
 #Banner /etc/issue.net
 #ReverseMappingCheck yes
 
-Subsystem	sftp	/usr/libexec/sftp-server
+Subsystem	sftp	/usr/local/libexec/sftp-server