You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
821 B
34 lines
821 B
4 years ago
|
# $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.
|
||
|
|
||
|
# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
|
||
|
|
||
|
# The strategy used for options in the default sshd_config shipped with
|
||
|
# OpenSSH is to specify options with their default value where
|
||
|
# possible, but leave them commented. Uncommented options override the
|
||
|
# default value.
|
||
|
|
||
|
Port 2222
|
||
|
PermitRootLogin no
|
||
|
PasswordAuthentication yes
|
||
|
ChallengeResponseAuthentication no
|
||
|
UsePAM yes
|
||
|
X11Forwarding yes
|
||
|
PrintMotd no
|
||
|
|
||
|
AcceptEnv LANG LC_*
|
||
|
|
||
|
# override default of no subsystems
|
||
|
Subsystem sftp internal-sftp
|
||
|
|
||
|
Match User sftp
|
||
|
ChrootDirectory /chroot
|
||
|
PermitTunnel no
|
||
|
X11Forwarding no
|
||
|
AllowTcpForwarding no
|
||
|
ForceCommand internal-sftp
|
||
|
|
||
|
|