pre fuse checkpoint

This commit is contained in:
2026-04-13 18:08:52 +00:00
parent b780c043fa
commit f63ee28d2b
3 changed files with 27 additions and 10 deletions

View File

@@ -1,16 +1,20 @@
FROM debian:12-slim
FROM debian:13-slim
RUN apt update && apt install -y openssh-server socat
RUN apt update
RUN apt install -y \
openssh-server \
socat
RUN adduser --disabled-password --gecos "" finn
RUN adduser --disabled-password --gecos "" armbian
RUN mkdir /home/finn/.ssh
# only one pubkey -- wildcard to conceal filename
COPY ./oilykey/*.pub /home/finn/.ssh/authorized_keys
COPY ./oilykey/* /home/finn/.ssh/
RUN mkdir /var/run/sshd
# ssh:
RUN mkdir /home/armbian/.ssh
# only one pubkey -- wildcard just to conceal filename
COPY ./oilykey/*.pub /home/armbian/.ssh/authorized_keys
COPY ./oilykey/* /home/armbian/.ssh/
RUN chown -R armbian:armbian /home/armbian/.ssh/
RUN chmod 600 /home/armbian/.ssh/*
#RUN mkdir /var/run/sshd
RUN echo "PermitRootLogin no" >> /etc/ssh/sshd_config
RUN echo "PasswordAuthentication no" >> /etc/ssh/sshd_config