From b763c421f6fc2fc693ccbf89ffe38c64cd977ab8 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Wed, 6 Oct 2010 21:43:12 +0000 Subject: =?UTF-8?q?=20-=20Update=20SSH=20connections=20to=20pick=20up=20cu?= =?UTF-8?q?stom=20ports=20configured=20in=20SSH=20config=20files;=20thanks?= =?UTF-8?q?=20to=20Stefan=20Sch=C3=BC=C3=9Fer=20for=20this=20patch.=20=20-?= =?UTF-8?q?=20Tweak=20SSH=20Master=20Mode=20to=20use=20the=20"ControlMaste?= =?UTF-8?q?r=20auto"=20setting=20instead=20of=20-M=20=20-=20Update=20local?= =?UTF-8?q?izable=20strings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPConnectionController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/SPConnectionController.m') 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. -- cgit v1.2.3