Skip to content

Commit 8c89111

Browse files
committed
remove options that only apply to SSH protocol version 1
In reference to feedback here: #57 Signed-off-by: Dominik Richter <[email protected]>
1 parent f1dd867 commit 8c89111

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

templates/default/opensshd.conf.erb

-6
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,6 @@ MACs <%= @mac %>
8181
KexAlgorithms <%= @kex %>
8282
<% end %>
8383

84-
# Lifetime and size of ephemeral version 1 server key
85-
KeyRegenerationInterval 1h
86-
ServerKeyBits 2048
87-
8884
# Authentication
8985
# --------------
9086

@@ -98,13 +94,11 @@ MaxSessions 10
9894
MaxStartups 10:30:100
9995

10096
# Enable public key authentication
101-
RSAAuthentication yes
10297
PubkeyAuthentication yes
10398

10499
# Never use host-based authentication. It can be exploited.
105100
IgnoreRhosts yes
106101
IgnoreUserKnownHosts yes
107-
RhostsRSAAuthentication no
108102
HostbasedAuthentication no
109103

110104
# Enable PAM to enforce system wide rules

0 commit comments

Comments
 (0)