PyCharm
 
Get PyCharm

Using SSH keys

Last modified: 03 October 2024

When you clone your project from a Git repository with SSH keys instead of a credential helper, you need to ensure that your local SSH agent is running.

If the SSH agent is running, you can add your local SSH keys to the agent using the ssh-add command.

Check the following example:

However, you may receive an error on Linux and Windows since the SSH agent is not running by default on these systems.

To resolve such issues, use the following steps:

  1. Ensure that you are running your local PowerShell as an administrator.

  2. Enter the following command:

    Set-Service ssh-agent -StartupType Automatic
    Start-Service ssh-agent
    Get-Service ssh-agent