Public Repository

Last pushed: a year ago
Short Description
Super Dangerous SSH Container.
Full Description

SSH Container With Root Password Set As Root.

FROM bashell/alpine-bash:latest

RUN apk update && apk upgrade

RUN apk add openssh openssh-sftp-server byobu tmux && \
/bin/sed -i -e 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config && \
/usr/bin/ssh-keygen -A && \
echo "source /etc/profile.d/color_prompt" > /etc/skel/.bashrc && \
cp /etc/skel/.bashrc /root/.bashrc && \
echo "root:root" | chpasswd && \
su - root -c "byobu-launcher-install"

EXPOSE 22
CMD ["/usr/sbin/sshd", "-D", "-e"]

You probably shouldnt use this.

Docker Pull Command
Owner
jgamblin

Comments (0)