From f184235a7f7996e68f4f6548ec8932b289e3d3c1 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Sat, 21 Nov 2009 01:25:40 +0000 Subject: - Rather than overriding SSH_AUTH_SOCK, allow the OS (or any user-supplied agent) to handle public/private key authentication. This addresses Issue #407. --- Source/SPSSHTunnel.m | 2 -- 1 file changed, 2 deletions(-) (limited to 'Source') diff --git a/Source/SPSSHTunnel.m b/Source/SPSSHTunnel.m index 18ec38b3..3d2592e4 100644 --- a/Source/SPSSHTunnel.m +++ b/Source/SPSSHTunnel.m @@ -281,8 +281,6 @@ // Set up the environment for the task authenticationAppPath = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"SequelProTunnelAssistant"]; taskEnvironment = [[NSMutableDictionary alloc] initWithDictionary:[[NSProcessInfo processInfo] environment]]; - [taskEnvironment removeObjectForKey: @"SSH_AGENT_PID"]; - [taskEnvironment removeObjectForKey: @"SSH_AUTH_SOCK"]; [taskEnvironment setObject:authenticationAppPath forKey:@"SSH_ASKPASS"]; [taskEnvironment setObject:@":0" forKey:@"DISPLAY"]; [taskEnvironment setObject:tunnelConnectionName forKey:@"SP_CONNECTION_NAME"]; -- cgit v1.2.3