Skip to content

Copy SSH keys to and from NFS

Nick Westbury requested to merge copy-ssh-keys into master

Each time we do a git clone we are sent to a different rails node due to our load balancer config, as we are not copying over our ssh keys this results an error

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!

To avoid this we need to copy the ssh keys from our primary rails site to our secondaries as documented.

Merge request reports