Based on the source code for the current version of SSH that's shipping with Mavericks (located here), it appears that the functionality of the config option KeychainIntegration
has not yet been implemented. I'm making this assumption based on the contents of openssh/readconf.h, which does not reference the KeychainIntegration
option. It does, however, reference the askpassgui
option. Checking the "keywords" struct in that file does indeed show that the keychainintegration
option is not present (which in turn implies that the oBadOption
(NULL) op code would be returned).
Another clue implying that the functionality you desire is not implemented in the way the man page specifies is the file: openssh/keychain.c. The source code actually shows that the defaults
system (i.e., Property List files) is being used to store settings related to KeychainIntegration
. Specifically, lines from the store_in_keychain
function reference KeychainIntegration:
/* Bail out if KeychainIntegration preference is -bool NO */
if (get_boolean_preference("KeychainIntegration", 1, 1) == 0) {
fprintf(stderr, "Keychain integration is disabled.\n");
goto err;
}
Here is the corresponding get_boolean_preference
function. Note that it's using CFPreferencesCopyAppValue
to obtain a boolean from the "org.openbsd.openssh" application identifier:
#if defined(__APPLE_KEYCHAIN__)
static int get_boolean_preference(const char *key, int default_value,
int foreground)
{
int value = default_value;
CFStringRef keyRef = NULL;
CFPropertyListRef valueRef = NULL;
keyRef = CFStringCreateWithCString(NULL, key, kCFStringEncodingUTF8);
if (keyRef != NULL)
valueRef = CFPreferencesCopyAppValue(keyRef,
CFSTR("org.openbsd.openssh"));
if (valueRef != NULL)
if (CFGetTypeID(valueRef) == CFBooleanGetTypeID())
value = CFBooleanGetValue(valueRef);
else if (foreground)
fprintf(stderr, "Ignoring nonboolean %s preference.\n", key);
if (keyRef)
CFRelease(keyRef);
if (valueRef)
CFRelease(valueRef);
return value;
}
#endif
This might imply that you can disable the KeychainIntegration
functionality for yourself by performing this defaults command:
defaults write org.openbsd.openssh KeychainIntegration -bool NO
or to set it for all users:
sudo defaults write /Library/Preferences/org.openbsd.openssh KeychainIntegration -bool NO
Try using ⌘-⌫ (Command-Delete). I read the list of system keyboard shortcuts for documents, and it is near the very end, and I just tried it, as I have had the same question for a few years now. Previously, I had not read far enough before giving up.
Best Answer
I'm not sure, but it looks suspicious. Poorly written, use of exclamation mark, reference to "PC" - it all looks weird. It's pretty useless too - you get an "OK" button and nothing else? What sort of dialog is that?!
Maybe check your date/time settings, but if there's no problem, I'd be a bit concerned about malware. Did you install any software recently?