G
G
Gleb BYR2017-11-02 20:45:34
Passwords
Gleb BYR, 2017-11-02 20:45:34

PHPStorm, how to export settings while saving FTP, SSH, etc. logins and passwords?

Previously, when exporting phpstorm settings to the webServers.xml file, it saved access from the server, it looked like this:

<webServer id="ID" name="server.ru" url="http://server.ru/">
        <fileTransfer host="11.111.111.233" port="22" rootFolder="/var/www/admin/data/www/server.ru" accessType="SFTP" username="admin" password="ПАРОЛЬ">
          <advancedOptions>
            <advancedOptions dataProtectionLevel="Private" />
          </advancedOptions>
          <option name="port" value="22" />
        </fileTransfer>
      </webServer>

Since version 2017, the accessType username password attributes have disappeared, something
else is interesting, I used to sit on version 16 before, I didn’t bathe, I didn’t want to update anything from sin further, then I reinstalled Windows, I think I’ll install a new storm, I installed it, rolled up a backup from version 16, like everything good, added new hosts, then put the storm on another PC, merged the backup from the old PC, uploaded it to the new one, oops, what was saved on the 16th version was preserved, and from the new hosts that were added in the 17th version, neither logins nor there are no passwords (
this is what the file looks like from version 17
<webServer id="ID" name="server.ru" url="http://server.ru/">
        <fileTransfer host="11.111.111.233" port="22" rootFolder="/var/www/admin/data/www/server.ru">
          <advancedOptions>
            <advancedOptions dataProtectionLevel="Private" />
          </advancedOptions>
          <option name="port" value="22" />
        </fileTransfer>
      </webServer>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Ignatov, 2020-02-17
@cessel

I know it's out of date, but it might be useful to someone.
Try this option:
Step 1

  1. Go to PhpStorm settings (File->Settings)
  2. Find section Appearance & behavior->System settings -> Passwords
  3. In this section, set the Master password

Stage 2
  1. Download and install the Keepass XC program - https://keepassxc.org/ (or similar for storing passwords in KeePass format)

Stage 3
  1. Go to the folder C:\Users\[CURRENT USER]\.PhpStorm2017.2\config (the folder may be hidden)
  2. In this folder we find the file c.kdbx
  3. Open this file with the installed program and enter the Master password to decrypt the password database.

Thus, we get a list of passwords from FTP servers in clear text.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question