diff src/ch/ethz/ssh2/ServerConnection.java @ 321:c19b24adf6c9 ganymed

add ecdsa key support everywhere
author Carl Byington <carl@five-ten-sg.com>
date Thu, 31 Jul 2014 08:49:37 -0700
parents 071eccdff8ea
children 37f4a3b506d9
line wrap: on
line diff
--- a/src/ch/ethz/ssh2/ServerConnection.java	Thu Jul 31 08:36:33 2014 -0700
+++ b/src/ch/ethz/ssh2/ServerConnection.java	Thu Jul 31 08:49:37 2014 -0700
@@ -362,7 +362,7 @@
                 state.cm.closeAllChannels();
 
             if (state.tm != null) {
-                state.tm.close();
+                state.tm.close(new Throwable("Closed due to user request."), false);
             }
         }
     }
@@ -373,7 +373,7 @@
                 state.cm.closeAllChannels();
 
             if (state.tm != null) {
-                state.tm.close(t);
+                state.tm.close(t, false);
             }
         }
     }