gh-ssh-key:tldr:6e8d4
The command gh ssh-key list is used to list all the SSH keys associated with your GitHub account using the GitHub CLI (Command Line Interface).
Here's a breakdown of each part of the command:
-
gh: It is the executable for the GitHub CLI that provides a command-line interface to interact with GitHub. -
ssh-key: It is the subcommand used to manage SSH keys associated with your GitHub account. -
list: It is the action you want to perform using thessh-keysubcommand. In this case, it lists all the SSH keys associated with your account.
When you execute the command gh ssh-key list, it will retrieve and display a list of all the SSH keys available in your GitHub account. Each key will have a unique identifier (ID) along with the associated title and fingerprint. This information can help you manage, update, or delete SSH keys on your GitHub account.