Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

rjinski

macrumors newbie
Original poster
Nov 18, 2014
1
0
Hi MacRumors!

Since I have upgraded to Yosemite I have to manually start the ssh-agent on every new terminal/bash window/tab.

I know I could manually start the agent in bash_profile but trying to work out what may be causing the problem...?

Steps:
Load terminal
ssh-add -list
- Could not open a connection to your authentication agent.
ssh-add ~/.ssh/myPrivateKey
- Could not open a connection to your authentication agent.
ssh-agent -s
ssh-add ~/.ssh/myPrivateKey
ssd-add -list
- success

Load a new tab - rince and repeat...

Mac Book Pro Mid 2010
Yosemite 10.10
Bash 4.3.30

Thanks!
 

Satori

macrumors 6502a
Jun 22, 2006
761
6
London
Are you using pkcs8 formatted keys? These haven't been supported in SSH for OS X since 10.8. No idea why and this has been reported by many as a bug.
 

chrfr

macrumors G5
Jul 11, 2009
13,707
7,277
Hi MacRumors!

Since I have upgraded to Yosemite I have to manually start the ssh-agent on every new terminal/bash window/tab.

I have not tested this before now, but it works for me with 10.10.1, so there's at least the possibility that the update resolves it for you.
Did or could you make a test account on your computer to see if it works there?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.