See https://github.com/Eugeny/russh/issues/607 The fix has been merged to main already, but the release is yet to be made.