Skip to content

Add "remove" feature to ssh-key #6136

@zwhitchcox

Description

@zwhitchcox

Describe the feature or problem you’d like to solve

I'd like to be able to remove ssh key from account from the command line. It's hard to believe there are no requests for this, so I must just be missing them, but is there no way to remove a key from the command line.

You can add with:

gh ssh-key add [file]

But there is no way to remove.

In the original request (#2990) there was a proposal to remove by hash, but you could also remove by title.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementa request to improve CLIhelp wantedContributions welcome

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions