Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • to clear ssh keys, also known as ssh targets, you can remove it on the SSH config file ~/.ssh/config where ~ is your home directory and exact path will vary person to person.
  • It is also a good idea to clear the ssh host key/target off ~/.ssh/known_hosts which is the file used by almost every other ssh program.
  • (Optional) Some extensions save credentials and need to be cleared as well.
    • On Windows: you can press windows key + r then type %USERPROFILE%\.sfdx. %USERPROFILE%\.%EXTENSION_NAME_HERE% where % indicates a variable and EXTENSION_NAME_HERE is your extension

    • On Linux and Mac OS: ~/.EXTENSION_NAME_HERE

    • For Ubuntu/GNOME Visual Studio Code users, the Credential Manager can be accessed by launching the "Passport and Keys" application. You can delete the Visual Studio Code/GitHub entry by clicking "Password", looking for the entry and delete

    • some extensions (no where near a complete list) are ~/.vscode-server for the default server, .sfdx for salesforce, .git or .github or .git-credentials for git/gitlab/github and assorted other repositories
    • In that directory you'll find a json file for each login saved, each one named after your username in that org. That json holds the following properties:

      • username
      • orgId
      • accessToken
      • refreshToken
      • instanceUrl
      • loginUrl
      • clientId

      You can delete the ones you don't need.

...