DEV Community

Software Jutsu
Software Jutsu

Posted on • Originally published at dev.to

[short] How to 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)

  • Open PowerShell

  • Navigate to your SSH key directory (replace YourUsername if needed):

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

Enter fullscreen mode Exit fullscreen mode
  • Note: If id_rsa.pub does not exist, generate a new key:
ssh-keygen
Enter fullscreen mode Exit fullscreen mode

Top comments (0)