From f077e14f21c9ad095be185ad1a28d2111147b364 Mon Sep 17 00:00:00 2001 From: avenjamin Date: Thu, 4 Jun 2009 05:15:13 +0000 Subject: - SSH Tunnel - PubKey Authentication --- Source/SPSSHTunnel.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/SPSSHTunnel.m b/Source/SPSSHTunnel.m index c4c01783..9568efe6 100644 --- a/Source/SPSSHTunnel.m +++ b/Source/SPSSHTunnel.m @@ -225,6 +225,7 @@ // [taskArguments addObject:@"-C"]; // TODO: compression? [taskArguments addObject:@"-o ExitOnForwardFailure=yes"]; [taskArguments addObject:[NSString stringWithFormat:@"-o ConnectTimeout=%i", connectionTimeout]]; + [taskArguments addObject:@"-o PubkeyAuthentication=yes"]; [taskArguments addObject:@"-o NumberOfPasswordPrompts=1"]; if (useKeepAlive && keepAliveInterval) { [taskArguments addObject:@"-o TCPKeepAlive=no"]; -- cgit v1.2.3