Skip to content

Commit

Permalink
Merge pull request #75 from systemli/fix/template_bookworm
Browse files Browse the repository at this point in the history
Minor adjustments to the sshd config file from Bookworm version
  • Loading branch information
doobry-systemli authored Aug 4, 2023
2 parents 54d1099 + ebcc1e2 commit d3fe22e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions templates/sshd_config.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information.

# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
# This sshd was compiled with PATH=/usr/local/bin:/usr/bin:/bin:/usr/games

# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
Expand Down Expand Up @@ -93,13 +93,13 @@ ChallengeResponseAuthentication {{ sshd_challenge_response_authentication }}

# Set this to 'yes' to enable PAM authentication, account processing,
# and session processing. If this is enabled, PAM authentication will
# be allowed through the ChallengeResponseAuthentication and
# be allowed through the KbdInteractiveAuthentication and
# PasswordAuthentication. Depending on your PAM configuration,
# PAM authentication via ChallengeResponseAuthentication may bypass
# the setting of "PermitRootLogin without-password".
# PAM authentication via KbdInteractiveAuthentication may bypass
# the setting of "PermitRootLogin prohibit-password".
# If you just want the PAM account and session checks to run without
# PAM authentication, then enable this but set PasswordAuthentication
# and ChallengeResponseAuthentication to 'no'.
# and KbdInteractiveAuthentication to 'no'.
UsePAM {{ sshd_use_pam }}

AllowAgentForwarding {{ sshd_allow_agent_forwarding }}
Expand All @@ -117,7 +117,7 @@ TCPKeepAlive {{ sshd_tcp_keep_alive }}
ClientAliveInterval {{ sshd_client_alive_interval }}
ClientAliveCountMax {{ sshd_client_alive_count_max }}
UseDNS {{ sshd_use_dns }}
#PidFile /var/run/sshd.pid
#PidFile /run/sshd.pid
MaxStartups {{ sshd_max_startups }}
#PermitTunnel no
#ChrootDirectory none
Expand Down

0 comments on commit d3fe22e

Please sign in to comment.