add default ssh
This commit is contained in:
@@ -14,7 +14,7 @@ RUN apt-get update && \
|
|||||||
echo "postgres ALL = (ALL) NOPASSWD:ALL" >> /etc/sudoers && \
|
echo "postgres ALL = (ALL) NOPASSWD:ALL" >> /etc/sudoers && \
|
||||||
echo "X11Forwarding no" >> /etc/ssh/sshd_config && \
|
echo "X11Forwarding no" >> /etc/ssh/sshd_config && \
|
||||||
echo "PasswordAuthentication no" >> /etc/ssh/sshd_config && \
|
echo "PasswordAuthentication no" >> /etc/ssh/sshd_config && \
|
||||||
echo "StrictHostKeyChecking no" >> /etc/ssh/ssh_config \
|
echo "StrictHostKeyChecking no" >> /etc/ssh/ssh_config
|
||||||
COPY ssh /
|
COPY ssh /
|
||||||
|
|
||||||
RUN set -eux && \
|
RUN set -eux && \
|
||||||
|
|||||||
Reference in New Issue
Block a user