system-config/playbooks/roles/gerrit/files/gerrit_ssh_config
Clark Boylan 70589a5a05 Reapply "Switch Gerrit replication to a larger RSA key"
This reverts commit d346d5375f.

We make small edits to the .ssh/config file to make MINA ssh client
happy. In particular we need to use the path to the ssh key within the
Gerrit container and not on the host side.

This exact .ssh/config file has been tested on held nodes that appears
to properly replication from a test gerrit99 to a test gitea99 after
adding the pubkey to gerrit and accepting the hostkey for gitea on the
gerrit side.

Change-Id: I41caac08f6713ad385c98eea46fb004a414fab5d
2023-12-06 09:02:17 -08:00

4 lines
110 B
Plaintext

Host gitea*.opendev.org
IdentityFile /var/gerrit/.ssh/replication_id_rsa_B
PreferredAuthentications publickey