ssh-agent "broken" since Yosemite

Discussion in 'OS X Yosemite (10.10)' started by rjinski, Nov 18, 2014.

  1. rjinski macrumors newbie

    Joined:
    Nov 18, 2014
    #1
    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!
     
  2. Satori macrumors 6502a

    Satori

    Joined:
    Jun 22, 2006
    Location:
    London
    #2
    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.
     
  3. chrfr macrumors 603

    Joined:
    Jul 11, 2009
    #3
    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?
     

Share This Page