‹ Generating credentials § SSH Keys
Self-service setup: SSH access
- Prerequisite: You have a SSH key to use for SSH to oxygen
- If you don’t have a SSH key, use ssh-keygen
- create a fork of the puppet repo if you don’t have one yet
- if you do have one, make sure it’s up-to-date
$ git clone git@github.com:[YourGhUsername]/puppet.git
$ cd puppet
$ git checkout -b patch-ssh
$ ./encrypt-secret < ~/.ssh/id_[keytype].pub
- copy the output of the above line to your clipboard
- open hieradata/common.d/users/[YourLiberaUsername].eyaml in text editor
- Add section ssh_keys under credentials as follows:
credentials: ssh_keys: - [paste the ENC thing you copied to your clipboard here]
- Add “shell” to your list of groups, so make that “groups:” line say something like:
groups: [staffer, shell]
- commit your change
- PR that change to the repo