Command
gh ssh-key add ~/.ssh/id_rsa.pubExplanation
Manage SSH keys for GitHub authentication and repository access.
Examples
Add SSH key
gh ssh-key add ~/.ssh/id_rsa.pubList SSH keys
gh ssh-key listDelete SSH key
gh ssh-key delete 123gh ssh-key add ~/.ssh/id_rsa.pubManage SSH keys for GitHub authentication and repository access.
Add SSH key
gh ssh-key add ~/.ssh/id_rsa.pubList SSH keys
gh ssh-key listDelete SSH key
gh ssh-key delete 123