Issue
I am trying to find my SSH key on Windows Server through PowerShell or CMD.
I don't have the option to install PuTTY. Basically I need all the details on my SSH key, but I am having no luck whatsoever.
The Linux machines were easier, as we had PuTTY installed.
Solution
You can find your id_rsa.pub file which contains your key. Did you use OpenSSH to generate the key?
The default location for saving the public key is C:\Documents and Settings\username\.ssh\
or C:\Users\username\.ssh
Default file names can be:
d_dsa.pub id_ecdsa.pub id_ed25519.pub id_rsa.pub
Or you can just type this in your Git Bash:
ls -al ~/.ssh
This will list all the files in your .ssh directory.
Answered By - Sagar Saxena