sshtun add rev tunnel keys
This commit is contained in:
@@ -8,6 +8,7 @@ RUN mkdir /home/finn/.ssh
|
|||||||
|
|
||||||
# only one pubkey -- wildcard to conceal filename
|
# only one pubkey -- wildcard to conceal filename
|
||||||
COPY ./oilykey/*.pub /home/finn/.ssh/authorized_keys
|
COPY ./oilykey/*.pub /home/finn/.ssh/authorized_keys
|
||||||
|
COPY ./oilykey/* /home/finn/.ssh/
|
||||||
|
|
||||||
RUN mkdir /var/run/sshd
|
RUN mkdir /var/run/sshd
|
||||||
RUN echo "PermitRootLogin no" >> /etc/ssh/sshd_config
|
RUN echo "PermitRootLogin no" >> /etc/ssh/sshd_config
|
||||||
|
|||||||
Reference in New Issue
Block a user