You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If ssh uses the HashKnownHosts yes directive then the entries in the ~/.ssh/known_hosts file do not contain the hostname or IP in clear text.
As a consequence the step
If ssh uses the
HashKnownHosts yes
directive then the entries in the~/.ssh/known_hosts
file do not contain the hostname or IP in clear text.As a consequence the step
https://github.com/IBM/Ansible-OpenShift-Provisioning/blob/main/roles/ssh_copy_id/tasks/main.yaml#L7
A solution that works with any config is to run instead:
The alternative is to explicitly make sure that hostnames are not hashed, e.g. via the ssh config:
Looks like the default is
yes
at least for ubuntu 22.04 (in/etc/ssh/ssh_config
)The text was updated successfully, but these errors were encountered: