Fix ssh host key verify issue with pipeline
We are seeing this in pipeline when it tried to ssh to the deployed instance:
$ if [ $CI_PIPELINE_SOURCE == 'merge_request_event' ]; then # collapsed multi-line command
Host key verification failed.
We are seeing this in pipeline when it tried to ssh to the deployed instance:
$ if [ $CI_PIPELINE_SOURCE == 'merge_request_event' ]; then # collapsed multi-line command
Host key verification failed.
added Sprint 23-14 label
assigned to @louistw
changed milestone to %WIP: OOD knightly improvement
changed the description
mentioned in merge request !64 (closed)
Fixed it by updating SSH_KNOWN_HOSTS
file.
The SSH_KNOWN_HOSTS
is a CI/CD variable and its content was generated by running:
ssh-keyscan knightly.rc.uab.edu
Replace the hostname with TEST_IP fixes the issue
closed