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 @@ -594,6 +594,9 @@ public void Connect()
594
594
595
595
// Some server implementations might sent this message first, prior establishing encryption algorithm
596
596
RegisterMessage ( "SSH_MSG_USERAUTH_BANNER" ) ;
597
+
598
+ // Modern versions of OpenSSH server use this generic message for various proprietary extensions of the SSH protocol.
599
+ RegisterMessage ( "SSH_MSG_GLOBAL_REQUEST" ) ;
597
600
598
601
// mark the message listener threads as started
599
602
_messageListenerCompleted . Reset ( ) ;
@@ -626,7 +629,6 @@ public void Connect()
626
629
_isAuthenticated = true ;
627
630
628
631
// Register Connection messages
629
- RegisterMessage ( "SSH_MSG_GLOBAL_REQUEST" ) ;
630
632
RegisterMessage ( "SSH_MSG_REQUEST_SUCCESS" ) ;
631
633
RegisterMessage ( "SSH_MSG_REQUEST_FAILURE" ) ;
632
634
RegisterMessage ( "SSH_MSG_CHANNEL_OPEN_CONFIRMATION" ) ;
You can’t perform that action at this time.
0 commit comments