Local Setup
I created a public and private SSH key via the ssh-keygen command.
ssh-keygen
I decided to setup the private key locally first
A server can have multiple signatures in case of load balanced server. Ideal way is to change
- echo "$SSH_KNOWN_HOSTS" >> /.ssh/known_hosts
to
- ssh-keyscan www.gitlab.com >> /.ssh/known_hosts