News for hackers. Stuff that matters.
Re:SSH agent notifications for OS X by FiloSottile on Saturday May 03, 2014 @10:19PM (#7693088)
This is pretty cool, and having notifications when the agent is used is really a good security bonus. So I'm pretty sad that I can't have this (requires Apple binary) AND a decently recent version of OpenSSH:

    $ /usr/local/bin/ssh -V
    OpenSSH_6.6p1, OpenSSL 1.0.1g 7 Apr 2014

    $ /usr/bin/ssh -V
    OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011
BUT, please think twice, thrice before installing a ssh-agent binary compiled by a stranger. You're hiring that binary to really hold your keys. You have to be really sure you can trust it.
Re:SSH agent notifications for OS X by dteske on Saturday May 03, 2014 @10:56PM (#7693143)
The source code can be compiled by cloning https://github.com/devinteske/apple and then:

cd OpenSSH-186/openssh ./configure --with-pam --with-audit=bsm make

You can see from my commits at the following URL what I had to change to add support for Notification Center.

https://github.com/devinteske/apple/tree/master/OpenSSH-186/...

Namely I changed the following:

openssh/Makefile.in openssh/ssh-agent.c openssh/ssh-agent-notify.m [new] openssh/ssh-agent-notify.h [new]

As for the OpenSSH version, Apple forks OpenSSH and then adds things like Keychain and launchd(8) support. So if you want a later version while retaining those features, you'll have to get Apple's customizations applied to a later non-Apple version or wait until Apple does it themselves. Migrating my changes into a non-Apple version simply to say you have the latest version of OpenSSH would mean that you lose keychain and launchd(8) integration. -- Devin

Re:SSH agent notifications for OS X by FiloSottile on Sunday May 04, 2014 @02:54PM (#7695304)
I understand this, I was just stating that

1. people should compile their own binary, since there is no easy way to know if you actually made only those edits in the provided binary (don't take it personally, really)

2. it's sad that Apple forked OpenSSH, since I can't have their integrations with a recent version

Re:SSH agent notifications for OS X by Yoshino on Sunday May 04, 2014 @05:22PM (#7695865)
Homebrew's openssh formula include a patch for Keychain support:

    $ brew info openssh
    openssh: stable 6.6p1
    ...
    ==> Options
    --with-keychain-support
        Add native OS X Keychain and Launch Daemon support to ssh-agent
    --with-ldns
        Build with lens support
Perhaps you could add the notification patch to Homebrew's openssh and get the best of both worlds?