diff --git a/lib/ssh/src/ssh_message.erl b/lib/ssh/src/ssh_message.erl index 679c07781040..346b77dd0d30 100644 --- a/lib/ssh/src/ssh_message.erl +++ b/lib/ssh/src/ssh_message.erl @@ -554,6 +554,9 @@ decode(<>) -> decode(<>) -> #ssh_msg_newkeys{}; +%% Accept SSH_MSG_IGNORE without data to have feature parity with other implementations like openssh +decode(<>) -> + #ssh_msg_ignore{}; decode(<>) -> #ssh_msg_ignore{data = Data};