ssh icon indicating copy to clipboard operation
ssh copied to clipboard

Fix #22 Properly close channels

Open Mika56 opened this issue 3 years ago • 0 comments

Fix for #22 There were two bugs:

  • The client must ack the SSH_MSG_CHANNEL_CLOSE message (RFC4254 section 5.3)
  • The client was using it's own channel ID as if the server was using the same one. The client must read the sender channel when receiving a SSH_MSG_CHANNEL_OPEN_CONFIRMATION message (RFC4254 section 5.1)

Mika56 avatar Mar 05 '22 17:03 Mika56