---
name: "gh-ssh-key"
section: "1"
platform: "linux"
package: "github-cli"
version: "2.102.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/gh-ssh-key"
---

# gh-ssh-key(1)

Manage SSH keys

## NAME

gh-ssh-key - Manage SSH keys

## SYNOPSIS

**gh ssh-key \<command\> \[flags\]**

## DESCRIPTION

Manage SSH keys registered with your GitHub account.

## AVAILABLE COMMANDS

- **[gh-ssh-key-add(1)](/gh-ssh-key-add/1.md)**

  Add an SSH key to your GitHub account

- **[gh-ssh-key-delete(1)](/gh-ssh-key-delete/1.md)**

  Delete an SSH key from your GitHub account

- **[gh-ssh-key-list(1)](/gh-ssh-key-list/1.md)**

  Lists SSH keys in your GitHub account

## EXIT CODES

0: Successful execution

1: Error

2: Command canceled

4: Authentication required

NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.

## SEE ALSO

**[gh(1)](/gh/1.md)**
