About four years ago, I wrote a blog post about deleting a SSH key from Git GUI.
At the time of writing this, I was a new Git user and just played around with SSH for the first time.
As a long-time Windows user, SSH was “this scary Unix authentication thing” to me…so I didn’t question the fact that I apparently needed to type Unix commands into Git Bash to get rid of my SSH key.
Turns out that the solution in my old post is the solution for people on Unix/Linux who use the command line.
If you’re on Windows like me, there’s a much easier way.
Here’s the screenshot from Git Gui with the filename again:
Four years ago, I didn’t know where to find the
Now I know that on Unix/Linux,
~ means the user’s home directory, which is
c:\Users\USERNAME on Windows.
.ssh is just a subdirectory there.
So on a Windows machine, the
~/.ssh directory is just
id_rsa.pub are just files in this directory and can simply be deleted via Windows Explorer.