Skip to content

Commit ca0e192

Browse files
authored
Change: Disable PAM for EulerOS to work around broken SSH login (#94)
1 parent 612051d commit ca0e192

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

operating_systems/euleros/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ RUN echo "${TAG}" > /etc/yum/vars/releasever \
3636
# Generate SSH keys
3737
&& ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N "" \
3838
&& ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -N "" \
39-
&& ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key -N ""
39+
&& ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key -N "" \
40+
# Workaround to fix SSH login (see VTA-641)
41+
&& sed -i "s/UsePAM yes/UsePAM no/" /etc/ssh/sshd_config
4042

4143
CMD [ "/usr/sbin/sshd", "-D" ]
4244

0 commit comments

Comments
 (0)