Skip to content

Commit 8844269

Browse files
authored
Create sshd_config file
1 parent 19175f6 commit 8844269

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

Diff for: config/sshd_config

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Created by Rob's install script
2+
Port 22123
3+
#ListenAddress 0.0.0.0
4+
5+
Protocol 2
6+
HostKey /etc/ssh/ssh_host_rsa_key
7+
HostKey /etc/ssh/ssh_host_dsa_key
8+
HostKey /etc/ssh/ssh_host_ecdsa_key
9+
HostKey /etc/ssh/ssh_host_ed25519_key
10+
UsePrivilegeSeparation yes
11+
12+
KeyRegenerationInterval 3600
13+
ServerKeyBits 1024
14+
15+
SyslogFacility AUTH
16+
LogLevel INFO
17+
18+
LoginGraceTime 120
19+
PermitRootLogin no
20+
StrictModes yes
21+
22+
RSAAuthentication yes
23+
PubkeyAuthentication yes
24+
25+
IgnoreRhosts yes
26+
RhostsRSAAuthentication no
27+
HostbasedAuthentication no
28+
29+
PermitEmptyPasswords no
30+
ChallengeResponseAuthentication no
31+
32+
PasswordAuthentication no
33+
34+
X11Forwarding yes
35+
X11DisplayOffset 10
36+
PrintMotd no
37+
PrintLastLog yes
38+
TCPKeepAlive yes
39+
40+
AcceptEnv LANG LC_*
41+
42+
Subsystem sftp /usr/lib/openssh/sftp-server
43+
44+
UsePAM yes

0 commit comments

Comments
 (0)