Tuesday, 15 March 2011

osx - SSH-ADD Key getting Flushed -



osx - SSH-ADD Key getting Flushed -

i switch mac ubuntu box , i'm facing odd ssh issue i'm not able understand why?

every time restart/reboot mac private key added ssh lists using ssh-add maintain getting flushed

ssh-add -l agent has no identities.

i'm not sure if desired behavior of ssh-add know i wasn't doing in ubuntu box neither on before mac machine top of newly created ssh keys aren't getting added ssh-add list

now not sure why new mac isn't working above

anyway solve have add together identity every time (manually) this

ssh-add private-key

now can please explain reason odd behaviour , feasible solution solve

why need have capistrano script which

set :ssh-options,{"forward" => true }

and every time run cap script fail because of same reason explain above , succeed when add together the private key ssh-add using command mention above

mac os in question

note: mac-os x 10.9.2

you need store passphrase in keychain.

try:

ssh-add -k private-key

hope helps.

osx ssh capistrano ssh-keys ssh-agent

No comments:

Post a Comment