Dodgy "Automatic upload failed. Private key file '/Users/my-user/Desktop/Marshteq/Thinkdigital/tdc-lms-key.pem" not found every minute

Every minute my PhpStorm IDE squawks at me with the following error exclamation mark:

Automatic upload failed. Private key file '/Users/my-user/Desktop/Marshteq/Thinkdigital/tdc-lms.key.pem' not found

This concerns me a lot because what process on earth would want to do that? I certainly don't recall installing this software, nor would I have saved it to the desktop. When I click the hamburger menu I get a dialogue to do with FTP/SFTP connectivity.

Any idea how to determine which process is trying to upload something from my Mac's desktop that doesn't even exist?

Screenshot

 

0
2 comments

This concerns me a lot because what process on earth would want to do that?

It's PhpStorm itself that does that - probably accordingly to Settings | Build, Execution, Deployment | Deployment | Options | Upload changed files automatically... being set to anything but Never.

This key file path can be taken from two places:

  • The Private key file field in Settings | Tools | SSH Configurations | <your configuration>
  • IdentityFile parameter in ~/.ssh/config
0

Thanks Eugene Morozov but your answer only helped me partially.

I'm curious as to what configured this automatic key upload. To take the problem further, I created some arbitrary text on my desktop and now I have this around every minute:

[2023/12/18, 13:36] Automatic upload
[2023/12/18, 13:36] Automatic upload failed. Keypair '/Users/eugene/Desktop/Marshteq/Thinkdigital/tdc-lms-key.pem' is corrupt or has unknown format.
[2023/12/18, 13:36] Only SSH2 keys in OpenSSH format (DSA, RSA, ECDSA or ED25519) or PuTTY Private Key *.ppk keys are supported.
[2023/12/18, 13:36] Error message: No provider available for Unknown key file
[2023/12/18, 13:37] Automatic upload
[2023/12/18, 13:37] Automatic upload failed. Keypair '/Users/eugene/Desktop/Marshteq/Thinkdigital/tdc-lms-key.pem' is corrupt or has unknown format.
[2023/12/18, 13:37] Only SSH2 keys in OpenSSH format (DSA, RSA, ECDSA or ED25519) or PuTTY Private Key *.ppk keys are supported.
[2023/12/18, 13:37] Error message: No provider available for Unknown key file

 

The PhpStorm is huge. I can't understand if someone infiltrated my PC or if there is some really terrible default setting somewhere. I also can't determine if this is project specific or what.

 

EDIT: You were right, this was the location:

Settings | Build, Execution, Deployment | Deployment

I inherited this project from another developer and it appears they use SSH sync to keep files up to date. Thanks so much for your help.

0

Please sign in to leave a comment.