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
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
$ 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?Or if you're on linux https://github.com/gdestuynder/openssh-portable/commit/bb0e9...
Or if you use gnupg https://github.com/gdestuynder/gnupg-agent-notification/comm...
Or if you use Windows and Putty https://github.com/gdestuynder/putty-pagent-notification (binary https://github.com/gdestuynder/putty-pagent-notification/rel...)
that's all i found