Configure SSH client KnownHostsCommand
ContainerImages/certs/pipeline/head This commit looks good Details

In order to `git push` the newly-committed certificatess in the
Post-Renew stage, the agent must trust the remote SSH server's host key.
main
Dustin 2022-12-07 15:37:24 -06:00
parent 713622aed4
commit 9938d885b0
1 changed files with 3 additions and 0 deletions

View File

@ -28,3 +28,6 @@ RUN curl -fL -o /tmp/acme.sh https://raw.githubusercontent.com/acmesh-official/a
RUN curl -L https://github.com/go-acme/lego/releases/download/v4.4.0/lego_v4.4.0_linux_amd64.tar.gz \
| tar -xz -C /usr/local/bin lego
RUN echo 'KnownHostsCommand /usr/bin/curl -sL https://files.pyrocufflink.blue/ssh_known_hosts' \
>> /etc/ssh/ssh_config