Startup Tasks in windows 7 with git bash

Hi there.

In a phpstorm I'm using a terminal that is envisioned via git bash, I made a bash script that makes a link to my shared certificate so that I can send it to the ssh connection. It works, but as if in another context of the terminal, because when I make a connection, the data of my certificate is not transmitted. How do I do it right?

phpstorm on win7

ssh script -> `eval $(ssh-agent -s) && ssh-add ~/.ssh/id_rsa`

0

Sorry for asking: does the script work if you run it in git bash outside of IDE?

Could you please attach a screenshot of how exactly you're running the script in IDE?

0
Avatar
Permanently deleted user




its work if i run it in IDE on git bash and work outside IDE. Seems like startup task is work, but as if another context cause this not have result in ssh conection

0
Avatar
Permanently deleted user

Hi,

So it runs but then the process is finished immediately?

0
Avatar
Permanently deleted user

Hi,

Looks as though fulfills normally, as it produces the same result as the query in the terminal, only in red

0

Hi, Bash support is a 3rd party plugin, we initially are not supporting .sh scripts. Please submit the same question/issue at https://github.com/jansorg/BashSupport/issues

0

请先登录再写评论。