gh ssh-key

Manage GitHub SSH keys. More information: https://cli.github.com/manual/gh_ssh-key.

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