1

I'm trying to use IntelliJ (well, actually CLion) with Perforce via ssh. In order for this to work, the key needs to be loaded permanently. Normally this works for me with ssh-agent, for which i enter the key password once and it keeps it loaded. However, when I launch CLion, it doesn't see the ssh-agent at all and prompts me to enter password for every p4 command it runs, which is not exactly workable.

1 Answer 1

2

The solution I ended up with is using keychian (http://www.funtoo.org/Keychain) to load the keys into the ssh-agent and then added

source ~/.keychain/`hostname`-sh

to the clion startup script (clion-2017.1.1/bin/clion.sh)

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.