aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPSSHTunnel.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPSSHTunnel.m')
-rw-r--r--Source/SPSSHTunnel.m4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/SPSSHTunnel.m b/Source/SPSSHTunnel.m
index 04e21e5f..0c25c181 100644
--- a/Source/SPSSHTunnel.m
+++ b/Source/SPSSHTunnel.m
@@ -431,7 +431,9 @@
[debugMessages addObject:[NSString stringWithString:message]];
[debugMessagesLock unlock];
- if ([message rangeOfString:@"Entering interactive session."].location != NSNotFound) {
+ if ([message rangeOfString:@"Entering interactive session."].location != NSNotFound
+ || [message rangeOfString:@"mux_client_request_session: master session id: "].location != NSNotFound)
+ {
connectionState = PROXY_STATE_CONNECTED;
if (delegate) [delegate performSelectorOnMainThread:stateChangeSelector withObject:self waitUntilDone:NO];
}