Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to retrieve a saved ftp password from phpStorm?

I know that technically, this question should be asked on phpStorm's forums, but being a popular IDE (I bet an eventual solution would also work for other popular IDEs from JetBrains), I'm thinking:

  • someone on SO might know and share the answer (faster than I'd get it from vendor)
  • the question answer might be useful and valuable to other coders (for that matter, even if I shall need to go on the vendor's forum I will get back with the answer here, when I find it)

If there is any need of context: I accidentally switched the connection type of a saved connection from ftp to local folder and when I switched back, the saved credentials were gone.

The question: Can I retrieve the saved password...

  • Angle 1: ...from this computer?
  • Angle 2: ...from another computer that has the same credentials saved, which I could access via TeamViewer, but has the password ●●●●●●(hidden)?
like image 735
tao Avatar asked Sep 17 '15 07:09

tao


2 Answers

If you use KeePass database file to store passwords, you can easely set password for that file, save and then open in KeePass manager, or migrate to other PHPStorm.

  1. Go to Settings/Preferences | Appearance & Behavior | System Settings | Passwords, enter new master password and save.
  2. Open /.PhpStorm2017.1/config/c.kdbx (in "Keepass 2" or "Keeweb") with saved master password.
  3. Here it is!

See answer here Retrieve saved (hidden) SSH password from PhpStorm 2017.1

like image 188
PayteR Avatar answered Sep 21 '22 09:09

PayteR


For OSX users

Open keychain -> select the System Roots keychain (on the left side) -> search for IntelliJ.

If you click it you will see the ftp-username in the "Account" field. You can also use right click on the records to copy the password.

like image 26
Napinator Avatar answered Sep 20 '22 09:09

Napinator