Revert "Disable password auth on dib images"
This reverts commit 5d81e77e8c
.
This breaks our images with:
"/etc/ssh/sshd_config line 85: Bad yes/no argument: No"
Change-Id: Id6feff2a6842764b2f375b77e33f52b5fc03944f
This commit is contained in:
@@ -26,8 +26,3 @@ set -o pipefail
|
|||||||
# properly login.
|
# properly login.
|
||||||
sed -i -e'/PermitRootLogin/d' /etc/ssh/sshd_config \
|
sed -i -e'/PermitRootLogin/d' /etc/ssh/sshd_config \
|
||||||
&& echo "PermitRootLogin Yes" >> /etc/ssh/sshd_config
|
&& echo "PermitRootLogin Yes" >> /etc/ssh/sshd_config
|
||||||
|
|
||||||
# NOTE(clarkb): Glean configures ssh keys only and not passwords. Disable
|
|
||||||
# unnecessary password auth.
|
|
||||||
sed -i -e '/PasswordAuthentication/d' /etc/ssh/sshd_config \
|
|
||||||
&& echo "PasswordAuthentication No" >> /etc/ssh/sshd_config
|
|
||||||
|
Reference in New Issue
Block a user