File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ RUN groupadd -g 1001 dev && \
6464 echo "dev ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
6565
6666# Fix pam
67- RUN sed -i "s/session required pam_loginuid.so/session optional pam_loginuid.so/" /etc/pam.d/sshd
67+ RUN sed -i "s/session required pam_loginuid.so/session optional pam_loginuid.so/" /etc/pam.d/sshd
6868
6969# Adjust permissions for /usr/local and home directories
7070RUN chown -R dev:dev /usr/local /home/dev
Original file line number Diff line number Diff line change 3030
3131
3232 echo "Starting SSH service with host keys from /home/dev/ssh_keys on port 2222."
33- /usr/sbin/sshd -D -e -f /etc/ssh/sshd_config \
33+ /usr/sbin/sshd -D -d - e -f /etc/ssh/sshd_config \
3434 -o Port={{ .Values.service.targetPort }} \
3535 -o HostKey=/home/dev/ssh_keys/ssh_host_rsa_key \
3636 -o HostKey=/home/dev/ssh_keys/ssh_host_ecdsa_key \
Original file line number Diff line number Diff line change 2020 authorizedKeys : |
2121 # Place auth keys here ...
2222 # ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCu...
23+ ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBjYNgOeBJ+f0koBLJg7JzT2U9agAGqd/c1gZbVvCZrK
2324securityContext :
2425 runAsNonRoot : true
2526 runAsUser : 1001
You can’t perform that action at this time.
0 commit comments