mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
8d55d19095
IPv6 support!! Thank you very much, Sumikawa san. Submitted by: Munechika SUMIKAWA <sumikawa@ebina.hitachi.co.jp>
21 lines
584 B
Plaintext
21 lines
584 B
Plaintext
--- sshd_config.orig Fri Jan 7 01:27:30 2000
|
|
+++ sshd_config Fri Jan 7 01:31:01 2000
|
|
@@ -3,12 +3,13 @@
|
|
Port 22
|
|
#ListenAddress 0.0.0.0
|
|
#ListenAddress ::
|
|
-HostKey /etc/ssh_host_key
|
|
+HostKey __PREFIX__/etc/ssh_host_key
|
|
ServerKeyBits 768
|
|
-LoginGraceTime 600
|
|
+LoginGraceTime 60
|
|
KeyRegenerationInterval 3600
|
|
-PermitRootLogin yes
|
|
-#
|
|
+PermitRootLogin no
|
|
+# Rate-limit sshd connections to 5 connections per 10 seconds
|
|
+ConnectionsPerPeriod 5/10
|
|
# Don't read ~/.rhosts and ~/.shosts files
|
|
IgnoreRhosts yes
|
|
# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
|