mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-08 00:02:42 -04:00
20 lines
457 B
Docker
20 lines
457 B
Docker
FROM connesc/ssh-gateway
|
|
MAINTAINER Tiago Cardoso <cardoso_tiago@hotmail.com>
|
|
|
|
RUN apk add --no-cache shadow
|
|
|
|
RUN echo -e $'\n\
|
|
PermitRootLogin prohibit-password\n\
|
|
AllowAgentForwarding no\n\
|
|
X11Forwarding no\n\
|
|
PermitTTY yes\n\
|
|
LogLevel VERBOSE\n\
|
|
AllowTcpForwarding yes\n\
|
|
PermitEmptyPasswords yes\n\
|
|
UsePAM no\n\
|
|
PasswordAuthentication no\n\
|
|
RSAAuthentication yes\n\
|
|
PubkeyAuthentication yes\n' >> /etc/ssh/sshd_config
|
|
|
|
RUN usermod --shell /bin/sh root
|