124 lines
3.2 KiB
Plaintext
124 lines
3.2 KiB
Plaintext
# __________ _____ _____ ____
|
|
# / __/ __/ // / _ \ / ___/__ ___ / _(_)__ _
|
|
# _\ \_\ \/ _ / // / / /__/ _ \/ _ \/ _/ / _ `/
|
|
#/___/___/_//_/____/ \___/\___/_//_/_//_/\_, /
|
|
# /___/
|
|
|
|
Include /etc/ssh/sshd_config.d/*.conf
|
|
|
|
# _ __ __ __ _
|
|
# / |/ /__ / /__ _____ ____/ /__ (_)__ ___ _
|
|
# / / -_) __/ |/|/ / _ \/ __/ '_// / _ \/ _ `/
|
|
#/_/|_/\__/\__/|__,__/\___/_/ /_/\_\/_/_//_/\_, /
|
|
# /___/
|
|
|
|
Port 69
|
|
#AddressFamily any
|
|
#ListenAddress 0.0.0.0
|
|
#ListenAddress ::
|
|
|
|
# _____ __ ____ __ __ _
|
|
# / ___/_ _____ / / ___ _______ / __/___ / //_/__ __ __(_)__ ___ _
|
|
#/ /__/ // / _ \/ _ \/ -_) __(_-< > _/_ _/ / ,< / -_) // / / _ \/ _ `/
|
|
#\___/\_, / .__/_//_/\__/_/ /___/ |_____/ /_/|_|\__/\_, /_/_//_/\_, /
|
|
# /___/_/ /___/ /___/
|
|
|
|
Ciphers aes256-gcm@openssh.com,aes256-ctr
|
|
KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp521
|
|
MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-512
|
|
Protocol 2
|
|
#HostKey /etc/ssh/ssh_host_rsa_key
|
|
#HostKey /etc/ssh/ssh_host_ecdsa_key
|
|
#HostKey /etc/ssh/ssh_host_ed25519_key
|
|
#RekeyLimit default none
|
|
|
|
# __ _
|
|
# / / ___ ___ ____ _(_)__ ___ _
|
|
# / /__/ _ \/ _ `/ _ `/ / _ \/ _ `/
|
|
#/____/\___/\_, /\_, /_/_//_/\_, /
|
|
# /___//___/ /___/
|
|
|
|
#SyslogFacility AUTH
|
|
#LogLevel INFO
|
|
|
|
# ___ __ __ __ _ __ _
|
|
# / _ |__ __/ /_/ / ___ ___ / /_(_)______ _/ /_(_)__ ___
|
|
# / __ / // / __/ _ \/ -_) _ \/ __/ / __/ _ `/ __/ / _ \/ _ \
|
|
#/_/ |_\_,_/\__/_//_/\__/_//_/\__/_/\__/\_,_/\__/_/\___/_//_/
|
|
|
|
AllowUsers root@192.168.0.0/16 coby
|
|
AllowGroups root coby
|
|
#LoginGraceTime 2m
|
|
PermitRootLogin yes
|
|
#StrictModes yes
|
|
MaxAuthTries 3
|
|
MaxSessions 10
|
|
|
|
PubkeyAuthentication yes
|
|
PasswordAuthentication no
|
|
PermitEmptyPasswords no
|
|
|
|
#AuthorizedKeysFile .ssh/authorized_keys
|
|
#AuthorizedPrincipalsFile none
|
|
#AuthorizedKeysCommand none
|
|
#AuthorizedKeysCommandUser nobody
|
|
|
|
#HostbasedAuthentication no
|
|
|
|
#IgnoreUserKnownHosts no
|
|
#IgnoreRhosts yes
|
|
|
|
ChallengeResponseAuthentication no
|
|
|
|
UsePam yes
|
|
|
|
# __ __ __
|
|
# / //_/__ ____/ / ___ _______ ___
|
|
# / ,< / -_) __/ _ \/ -_) __/ _ \(_-<
|
|
#/_/|_|\__/_/ /_.__/\__/_/ \___/___/
|
|
|
|
KerberosAuthentication no
|
|
#KerberosOrLocalPasswd yes
|
|
#KerberosTicketCleanup yes
|
|
#KerberosGetAFSToken no
|
|
|
|
# ________________ ___ ____
|
|
# / ___/ __/ __/ _ | / _ \/ _/
|
|
#/ (_ /\ \_\ \/ __ |/ ___// /
|
|
#\___/___/___/_/ |_/_/ /___/
|
|
|
|
GSSAPIAuthentication no
|
|
#GSSAPICleanupCredentials yes
|
|
#GSSAPIStrictAcceptorCheck yes
|
|
#GSSAPIKeyExchange no
|
|
|
|
|
|
# ____ __
|
|
# / __/_ __/ /________ _
|
|
# / _/ \ \ / __/ __/ _ `/
|
|
#/___//_\_\\__/_/ \_,_/
|
|
|
|
AllowAgentForwarding no
|
|
AllowTcpForwarding no
|
|
PermitTunnel no
|
|
GatewayPorts no
|
|
X11Forwarding no
|
|
#X11DisplayOffset 10
|
|
#X11UseLocalhost yes
|
|
#PermitTTY yes
|
|
PrintMotd no
|
|
#PrintLastLog yes
|
|
#TCPKeepAlive yes
|
|
PermitUserEnvironment no
|
|
#Compression delayed
|
|
ClientAliveInterval 600
|
|
ClientAliveCountMax 3
|
|
#UseDNS no
|
|
#PidFile /var/run/sshd.pid
|
|
#MaxStartups 10:30:100
|
|
#ChrootDirectory none
|
|
#VersionAddendum none
|
|
#Banner none
|
|
AcceptEnv LANG LC_*
|
|
Subsystem sftp /usr/lib/openssh/sftp-server
|