aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPSSHTunnel.m
diff options
context:
space:
mode:
authoravenjamin <avenjamin@gmail.com>2009-06-04 05:15:13 +0000
committeravenjamin <avenjamin@gmail.com>2009-06-04 05:15:13 +0000
commitf077e14f21c9ad095be185ad1a28d2111147b364 (patch)
tree980fa1e9161351fd8e7876ea9f0ea1f74dfa7c80 /Source/SPSSHTunnel.m
parent31123c9ff149908120a5bca94e76f5023c0b7e1e (diff)
downloadsequelpro-f077e14f21c9ad095be185ad1a28d2111147b364.tar.gz
sequelpro-f077e14f21c9ad095be185ad1a28d2111147b364.tar.bz2
sequelpro-f077e14f21c9ad095be185ad1a28d2111147b364.zip
- SSH Tunnel - PubKey Authentication
Diffstat (limited to 'Source/SPSSHTunnel.m')
-rw-r--r--Source/SPSSHTunnel.m1
1 files changed, 1 insertions, 0 deletions
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"];