File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -590,6 +590,9 @@ public void Connect()
590
590
591
591
// Some server implementations might sent this message first, prior establishing encryption algorithm
592
592
RegisterMessage ( "SSH_MSG_USERAUTH_BANNER" ) ;
593
+
594
+ // Modern versions of OpenSSH server use this generic message for various proprietary extensions of the SSH protocol.
595
+ RegisterMessage ( "SSH_MSG_GLOBAL_REQUEST" ) ;
593
596
594
597
// mark the message listener threads as started
595
598
_messageListenerCompleted . Reset ( ) ;
@@ -624,7 +627,6 @@ public void Connect()
624
627
Thread . Sleep ( 2000 ) ;
625
628
626
629
// Register Connection messages
627
- RegisterMessage ( "SSH_MSG_GLOBAL_REQUEST" ) ;
628
630
RegisterMessage ( "SSH_MSG_REQUEST_SUCCESS" ) ;
629
631
RegisterMessage ( "SSH_MSG_REQUEST_FAILURE" ) ;
630
632
RegisterMessage ( "SSH_MSG_CHANNEL_OPEN_CONFIRMATION" ) ;
You can’t perform that action at this time.
0 commit comments