mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2024-12-28 02:56:09 -07:00
Dockerfile.test: correct path to sftp
This commit is contained in:
parent
f039d623c2
commit
369129beaf
|
@ -9,7 +9,7 @@ RUN echo "PasswordAuthentication no" > /etc/ssh/sshd_config
|
||||||
RUN echo "PubkeyAuthentication yes" >> /etc/ssh/sshd_config
|
RUN echo "PubkeyAuthentication yes" >> /etc/ssh/sshd_config
|
||||||
RUN echo "AuthorizedKeysFile /etc/ssh/authorized_keys" >> /etc/ssh/sshd_config
|
RUN echo "AuthorizedKeysFile /etc/ssh/authorized_keys" >> /etc/ssh/sshd_config
|
||||||
RUN echo "PermitRootLogin no" >> /etc/ssh/sshd_config
|
RUN echo "PermitRootLogin no" >> /etc/ssh/sshd_config
|
||||||
RUN echo "Subsystem sftp /usr/lib/openssh/sftp-server" >> /etc/ssh/sshd_config
|
RUN echo "Subsystem sftp /usr/lib/ssh/sftp-server" >> /etc/ssh/sshd_config
|
||||||
|
|
||||||
RUN ssh-keygen -A
|
RUN ssh-keygen -A
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user