diff src/ch/ethz/ssh2/transport/ClientKexManager.java @ 333:d835e842d158 ganymed

still hangs during connection
author Carl Byington <carl@five-ten-sg.com>
date Thu, 31 Jul 2014 13:45:59 -0700
parents 6740870cf268
children 098bb036e0a7
line wrap: on
line diff
--- a/src/ch/ethz/ssh2/transport/ClientKexManager.java	Thu Jul 31 13:06:55 2014 -0700
+++ b/src/ch/ethz/ssh2/transport/ClientKexManager.java	Thu Jul 31 13:45:59 2014 -0700
@@ -88,7 +88,7 @@
 
     public synchronized void handleMessage(byte[] msg) throws IOException {
         PacketKexInit kip;
-
+        
         if (msg == null) {
             synchronized (accessLock) {
                 connectionClosed = true;
@@ -96,6 +96,8 @@
                 return;
             }
         }
+        
+        log.debug(String.format("client kex manager, packet type %d", msg[0]));
 
         if ((kxs == null) && (msg[0] != Packets.SSH_MSG_KEXINIT)) {
             throw new PacketTypeException(msg[0]);