Skip to content

Commit

Permalink
Remove deprecated options
Browse files Browse the repository at this point in the history
  • Loading branch information
drduh authored Jul 23, 2018
1 parent 06d185d commit 121bca0
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions sshd_config
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Port 2222
Protocol 2
Port 22

AddressFamily inet
ListenAddress 0.0.0.0
PidFile /var/run/sshd.pid

AllowUsers sysadm
HostKey /etc/ssh/ssh_host_key
Expand All @@ -12,8 +12,6 @@ MACs hmac-sha2-512-etm@openssh.com
KexAlgorithms curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256
RekeyLimit 256M

UsePrivilegeSeparation sandbox

SyslogFacility AUTH
LogLevel VERBOSE

Expand All @@ -25,17 +23,13 @@ ClientAliveCountMax 20

PermitRootLogin no
StrictModes yes
UsePAM yes

PubkeyAuthentication yes
AuthorizedKeysFile %h/.ssh/authorized_keys
IgnoreRhosts yes

RSAAuthentication no
PermitEmptyPasswords no
GSSAPIAuthentication no
PasswordAuthentication no
KerberosAuthentication no
HostbasedAuthentication no
ChallengeResponseAuthentication no

Expand Down

0 comments on commit 121bca0

Please sign in to comment.