diff src/ch/ethz/ssh2/transport/ClientTransportManager.java @ 336:63b23b7c840d ganymed

still hangs during connection
author Carl Byington <carl@five-ten-sg.com>
date Thu, 31 Jul 2014 14:58:57 -0700
parents 071eccdff8ea
children
line wrap: on
line diff
--- a/src/ch/ethz/ssh2/transport/ClientTransportManager.java	Thu Jul 31 14:35:37 2014 -0700
+++ b/src/ch/ethz/ssh2/transport/ClientTransportManager.java	Thu Jul 31 14:58:57 2014 -0700
@@ -46,8 +46,9 @@
         this.startReceiver();
     }
 
-    protected void connect(String hostname, int port, int connectTimeout)
-    throws IOException {
+    protected void connect(String hostname, int port, int connectTimeout) throws IOException {
+        log.debug(String.format("client transport manager connecting to %s:%d", hostname, port));
         sock.connect(new InetSocketAddress(hostname, port), connectTimeout);
+        log.debug(String.format("client transport manager connected to %s:%d", hostname, port));
     }
 }
\ No newline at end of file