#	$OpenBSD: sshd_config,v 1.103 2018/04/09 20:41:22 tj Exp $

# This is the sshd server system-wide configuration file.  See
# sshd_config(5) for more information.

Include /etc/ssh/sshd_config.d/*.conf

Port 34022

# Authentication:
LoginGraceTime 60
PermitRootLogin no
MaxAuthTries 4
MaxSessions 10

PubkeyAuthentication yes

# Disable all password-based auth
PasswordAuthentication no
PermitEmptyPasswords no
KbdInteractiveAuthentication no

UsePAM yes

X11Forwarding no
PrintMotd no

AcceptEnv LANG LC_*

Subsystem sftp	/usr/lib/openssh/sftp-server