Skip to content

Commit d3f1b9d

Browse files
Binarytalessvenrademakers
authored andcommitted
Update sshd_config
- Removed duplicate lines with potentially insecure settings from bottom of file - Removed refrences to Wenyi from comments - users unfamilliar with the projects history may (rightly IMO) be concerened by these otherwise) - Explititly set PermitRootLogin to yes and move to under PubkeyAuthentication as a hint to user to change this setting and setup key based auth - as per the docs
1 parent 83235fd commit d3f1b9d

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

tp2bmc/board/tp2bmc/overlay/etc/ssh/sshd_config

+3-5
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
#MaxSessions 10
3636

3737
#PubkeyAuthentication yes
38+
PermitRootLogin yes
3839

3940
# The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2
4041
# but this is overridden so installations will only check .ssh/authorized_keys
@@ -54,8 +55,8 @@ AuthorizedKeysFile .ssh/authorized_keys
5455
#IgnoreRhosts yes
5556

5657
# To disable tunneled clear text passwords, change to no here!
57-
#PasswordAuthentication yes
58-
#PermitEmptyPasswords no
58+
PasswordAuthentication yes
59+
PermitEmptyPasswords no
5960

6061
# Change to no to disable s/key passwords
6162
#KbdInteractiveAuthentication yes
@@ -114,6 +115,3 @@ Subsystem sftp /usr/libexec/sftp-server
114115
# AllowTcpForwarding no
115116
# PermitTTY no
116117
# ForceCommand cvs server
117-
PasswordAuthentication yes # add by wenyi
118-
PermitEmptyPasswords yes # add by wenyi
119-
PermitRootLogin yes

0 commit comments

Comments
 (0)