|
root / base / usr / src / cmd / ssh / etc / sshd_config
sshd_config Plain Text 42 lines 634 B
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#
# Hammerhead sshd_config - OpenSSH 10.2p1
#

Port 22
ListenAddress ::

# Host key files
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_ed25519_key
HostKey /etc/ssh/ssh_host_ecdsa_key

# Logging
SyslogFacility auth
LogLevel info

# Authentication
PermitRootLogin no
PasswordAuthentication yes
PermitEmptyPasswords no
MaxAuthTries 6
StrictModes yes
LoginGraceTime 120

# PAM
UsePAM yes

# Forwarding
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes
GatewayPorts no

# No MOTD (login shell handles /etc/profile)
PrintMotd no

# Keepalive
TCPKeepAlive yes

# sftp subsystem (built-in)
Subsystem	sftp	internal-sftp