Skip to content

Commit

Permalink
handle jiggle
Browse files Browse the repository at this point in the history
  • Loading branch information
clydet committed Sep 25, 2023
1 parent 1aad887 commit 9a674fb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion images/Dockerfile.ssh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ RUN chown root:root /run/sshd

# Copy your public SSH key to the container (replace 'your_public_key.pub' with your actual key file)
COPY ./images/id_ed25519.pub /home/sshuser/.ssh/id_ed25519.pub
COPY ./images/.ssh/id_ed25519 /home/sshuser/.ssh/id_ed25519
RUN cat /home/sshuser/.ssh/id_ed25519.pub >> /home/sshuser/.ssh/authorized_keys
RUN chown -R sshuser:sshuser /home/sshuser/.ssh && chmod 600 /home/sshuser/.ssh/authorized_keys

Expand Down

0 comments on commit 9a674fb

Please sign in to comment.