SSH
We use ssh to connect to github as a standard. This is useful because it plays nice with github actions and is straight forward to set up both locally and remotely.
Setting up
1- Generate SSH Key:
ssh-keygen -t rsa
Follow the prompts to save the key (default location is
~/.ssh/id_rsa
).Note that there are other algorithms you can use but it might not play nice with the connection manager here: https://renalregistry.atlassian.net/wiki/x/BoDXn
2 - Add SSH Key to GitHub:
Better docs here: I
Go to GitHub → Settings → SSH and GPG keys → New SSH Key.
Print key and copy
cat ~/.ssh/id_rsa.pub
Paste the public key, and save.
Add key to ssh agent using:
3- Add SSH Key to Remote Server:
Alternatively, manually add the public key to
~/.ssh/authorized_keys
on the server.
4- GitHub secrets:
Who is Bamboo? No idea? Me too!
Bamboo is a generic github account which enables ssh from servers like mirth to github. The credentials for this can be found in the keypass database. The same steps can be followed as if you were setting up ssh for yourself only roleplaying your new identity as baboo the code monkey.
Wait this already exists
https://renalregistry.atlassian.net/wiki/x/AIAaUg