-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Description
Why do you wan't to allow RootLogin, also why do we enforce a password when it is a weak as 'password'.
RUN ( \
echo 'LogLevel DEBUG2'; \
echo 'PermitRootLogin yes'; \
echo 'PasswordAuthentication yes'; \
echo 'Subsystem sftp /usr/lib/openssh/sftp-server'; \
) > /etc/ssh/sshd_config_test_clion \
&& mkdir /run/sshdshould be
RUN ( \
echo 'LogLevel DEBUG2'; \
echo 'PermitRootLogin no'; \
echo 'PasswordAuthentication yes'; \
echo 'PermitEmptyPasswords yes'; \
echo 'Subsystem sftp /usr/lib/openssh/sftp-server'; \
) > /etc/ssh/sshd_config_test_clion \
&& mkdir /run/sshdThen the && yes password | passwd user can be dropped.
This still does not work with clion becasue the GUI enforces a passsword (I think this is a bug as well).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels