DR: Updating the known_hosts file of the secondary nodes ask for a git password while we don't have it

Description

When configuring Geo, at the step where we need to update the known_hosts file of the secondary nodes (documentation), we are being asked a password for git on the primary.

> sudo -u git -H ssh git@<primary-node-url>
The authenticity of host 'primary (192.168.33.10)' can't be established.
ECDSA key fingerprint is SHA256:RI5/3ep65qXeDkZSACi/rN0hBxiLrBxMvcyk9CfLkyg.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'primary,192.168.33.10' (ECDSA) to the list of known hosts.
git@primary's password:

I don't know what this password should be. What I do at this stage is CTRL+C to quit the process, and it just works (this is confirmed in the tutorial De Wet made about Geo).

Proposal

  • Can we get rid of this password prompt, or find a way to bypass it? Having to do CTRL+C in the CLI is always disturbing (ie will the process work even if I cancel it?)
  • If not, we should state in the documentation that we need to CTRL+C.
Assignee Loading
Time tracking Loading