frops
frops

Reputation: 2365

How to connect to SVN using PuTTY and private key in PhpStorm

friends. I can't connect to svn using PuTTY.

  1. I have private key and working pageagent by PuTTY;
  2. Windows 7 and PhpStorm 9;
  3. I have remote url as svn+ssh://host.to.svn.repository;

Problem: I don't have a password, i have only private key. Failed to connect

I specified this data in dialog:

enter image description here

But update it uses old data:

enter image description here

I tried "Clear Auth Cache", but it's not helped me.

I want ro work with SVN via PhpStorm. P.S. TortoiseSVN work fine.

RESOLVE:

  1. Setting -> Version Control -> Subversion -> SSH Settings;
  2. Select "Subversion config" and specify a path to the plink and path to the private key, using parameter "-i";

Example: enter image description here

1 - Path to plink; 2 - Parameter "-i"; 3 - Path to your private key;

P.S. Make sure to check the "Enable interactive mode" is removed in General tab.

Upvotes: 0

Views: 2561

Answers (1)

chocochaos
chocochaos

Reputation: 1596

You can set up all options for svn+ssh in the PhpStorm settings:

  1. Go to File -> Settings
  2. Go to Version Control -> Subversion
  3. Click the SSH Settings tab
  4. Here you can specify the path to you SSH client and set up the credentials for the connection.

Screenshot of settings window

Upvotes: 1

Related Questions