SSH Keys
SSH keys to push the JSON files to ado portal repo on github.
Steps:
- Generate public/private keys.
- Upload the SSH public key to ado portal repo on github. Settings: Deploy keys: Add deploy key 'with write access'
- Add the private key into the docker
- Add an alias entry for the repo in server's SSH configuration file.
- Test the SSH connection.
- Add the key to the ssh-agent to avoid asking for a username or password.
If everything works smoothly then we can add the private key as environment variable.