Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to reconfigure my ssh-agent to have a timeout via the -t argument.

I edited /System/Library/LaunchAgents/org.openbsd.ssh-agent.plist

<array>
  <string>/usr/bin/ssh-agent</string>
  <string>-l</string>
  <string>-t</string>
  <string>300</string>
</array>

Then I issued

$ launchctl unload /System/Library/LaunchAgents/org.openbsd.ssh-agent.plist

Followed by

$ launchctl load /System/Library/LaunchAgents/ord.openbsd.ssh-agent.plist

It seems to have loaded it back up.

$ launchctl list | grep ssh
-       0       org.openbsd.ssh-agent

But now it doesn't launch when I use a ssh key. OpenSSH asks me for the passphrase instead of the GUI ssh-agent. What did I do wrong?

share|improve this question

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.