forked from Lainports/freebsd-ports
- Features: Possible use of sftp/sftp-server with older FreeBSD releases. Use a newer version independently from the Base system. Easier to test and fix possible security bugs. - Bugs: build of pam_ssm.so isn't be supported any more Any file named "cookie" can be deleted by this and any older "sshd" with X11 Forwarding.
35 lines
843 B
Text
35 lines
843 B
Text
--- 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
|