Tag: ssh-add

  • List SSH keys

    List SSH keys

    To list all SSH keys used by ssh agent on your system, run

    ssh-add -l
    

    Example

    ssh-add

    To add all available ssh keys to agent, run

    ssh-add
    

    Remove SSH Key

    To remove all SSH keys from agent, run

    ssh-add -D
    

    To remove specific key, run

    ssh-add -d /path/to/file
    

    Or you can just remove they ssh key files from your ~/.ssh folder.