Configure SSH client KnownHostsCommand
ContainerImages/certs/pipeline/head This commit looks good
Details
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
parent
713622aed4
commit
9938d885b0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue