Sign up ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I'm relatively new in the Mac world, and right now I'm having a problem with Terminal. Every time I open Terminal (new tab or new window) I have to insert the SSH pass phrase.

Why? How can I deactivate this?

For example: Terminal asking for passphrase

share|improve this question
Did you try to add your SSH key to the agent by adding the command to .bash_profile? – gabedwrds Nov 22 '12 at 16:28
sorry but, how i do this? – Rommel Castro A Nov 22 '12 at 16:30
Nevermind, I was trying to guess why it was being triggered, but it looks like it automatically tries to load an SSH key if it finds one in ~/.ssh/id_rsa. Did you generate an SSH key for something? – gabedwrds Nov 22 '12 at 16:39
yes, i use it mostly for git – Rommel Castro A Nov 22 '12 at 17:08
Could you open Terminal and post the output of these commands: cat ~/.bashrc and grep -i ssh ~/.?* | grep -v bash_history? The first outputs a file bash reads and executes when Terminal starts. The second one lists all occurrences of word "ssh" in any hidden file in your home directory. – jaume Nov 23 '12 at 15:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.