Added a chrooted sshd server

This commit is contained in:
2024-09-24 23:20:02 +02:00
parent 9322b554a4
commit dbeeefab86
3 changed files with 66 additions and 1 deletions

9
chrooted-sshd/Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM alpine:latest
RUN apk add --no-cache openssh
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
CMD ["/usr/sbin/sshd", "-D", "-e"]