diff options
author | rowanbeentje <rowan@beent.je> | 2009-09-30 22:55:49 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2009-09-30 22:55:49 +0000 |
commit | f6b8cb80e77f159b4dd1d691f24be35e7a63fd7e (patch) | |
tree | 14e351f8f313026647d72967b5a4f6876a074dc8 | |
parent | b2b2b1b4e6451bd99f7894108a6c137da8f51e4d (diff) | |
download | sequelpro-f6b8cb80e77f159b4dd1d691f24be35e7a63fd7e.tar.gz sequelpro-f6b8cb80e77f159b4dd1d691f24be35e7a63fd7e.tar.bz2 sequelpro-f6b8cb80e77f159b4dd1d691f24be35e7a63fd7e.zip |
- Add ControlMaster compatibility to SSH tunnels - credit to Igor Sutton. This addresses Issue #396
-rw-r--r-- | Source/SPSSHTunnel.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/SPSSHTunnel.m b/Source/SPSSHTunnel.m index 6c5be81c..843acb89 100644 --- a/Source/SPSSHTunnel.m +++ b/Source/SPSSHTunnel.m @@ -253,6 +253,7 @@ [taskArguments addObject:@"-N"]; // Tunnel only [taskArguments addObject:@"-v"]; // Verbose mode for messages // [taskArguments addObject:@"-C"]; // TODO: compression? + [taskArguments addObject:@"-M"]; // Places the ssh client into 'master' mode for connection sharing [taskArguments addObject:@"-o ExitOnForwardFailure=yes"]; [taskArguments addObject:[NSString stringWithFormat:@"-o ConnectTimeout=%i", connectionTimeout]]; [taskArguments addObject:@"-o NumberOfPasswordPrompts=3"]; |