gh ssh-key

Manage GitHub SSH keys from the command-line.
More information.
gh ssh-key
gh ssh-key list
gh ssh-key add {path/to/key.pub}
gh ssh-key add --title {title} {path/to/key.pub}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
CC-BY