DEV Community

Rickvian Aldi
Rickvian Aldi

Posted on • Edited on

check existing SSH public key in Windows

To check your existing SSH public key in Windows, you can follow these steps:

Check Existing SSH Public Key in Windows (PowerShell, for Bitbucket use)
1.Open PowerShell.
2.Navigate to your SSH key directory (replace YourUsername if needed):

cd $env:USERPROFILE\.ssh
Enter fullscreen mode Exit fullscreen mode
3.Display your public key:
Enter fullscreen mode Exit fullscreen mode
Get-Content id_rsa.pub

Enter fullscreen mode Exit fullscreen mode
4.Note: If id_rsa.pub does not exist, generate a new key:
Enter fullscreen mode Exit fullscreen mode

ssh-keygen

Top comments (0)