aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConnectionController.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-10-06 21:43:12 +0000
committerrowanbeentje <rowan@beent.je>2010-10-06 21:43:12 +0000
commitb763c421f6fc2fc693ccbf89ffe38c64cd977ab8 (patch)
tree78f895186693fb305bff00f2ab73f2f0b36aa2b4 /Source/SPConnectionController.m
parentc42b7483546e0cdfa1dd82cdda1d18313e6af111 (diff)
downloadsequelpro-b763c421f6fc2fc693ccbf89ffe38c64cd977ab8.tar.gz
sequelpro-b763c421f6fc2fc693ccbf89ffe38c64cd977ab8.tar.bz2
sequelpro-b763c421f6fc2fc693ccbf89ffe38c64cd977ab8.zip
- Update SSH connections to pick up custom ports configured in SSH config files; thanks to Stefan Schüßer for this patch.
- Tweak SSH Master Mode to use the "ControlMaster auto" setting instead of -M - Update localizable strings
Diffstat (limited to 'Source/SPConnectionController.m')
-rw-r--r--Source/SPConnectionController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPConnectionController.m b/Source/SPConnectionController.m
index 44b35d8d..b9d53025 100644
--- a/Source/SPConnectionController.m
+++ b/Source/SPConnectionController.m
@@ -328,7 +328,7 @@
[self setSshHost:[[self sshHost] stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]]];
// Set up the tunnel details
- sshTunnel = [[SPSSHTunnel alloc] initToHost:[self sshHost] port:([[self sshPort] length]?[[self sshPort] integerValue]:22) login:[self sshUser] tunnellingToPort:([[self port] length]?[[self port] integerValue]:3306) onHost:[self host]];
+ sshTunnel = [[SPSSHTunnel alloc] initToHost:[self sshHost] port:[[self sshPort] integerValue] login:[self sshUser] tunnellingToPort:([[self port] length]?[[self port] integerValue]:3306) onHost:[self host]];
[sshTunnel setParentWindow:[tableDocument parentWindow]];
// Add keychain or plaintext password as appropriate - note the checks in initiateConnection.