Recently I moved some of my projects on github using git ability of handling multiple origins in one local repository. As I didn't found any ability of adding another remote origin in phpStorm I added it manually in terminal. Everything worked, however now I cannot update or push files using phpStorm it shows me error in Version Control window.
java.io.IOException: Authentication failed:
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I'm using ssh key authorisation for github.
if I paste command in either phpStorm or standard terminal the command is working without problems, only clicking in phpStorm failes.
What could be wrong with it?