On Wed, 21 Jun 2023, Matthias Petermann wrote:

My mistake... the error message probably was slighty different but still related to the ssh_client_loop.


Aah! ssh is stuffing errno in _many_ places, so it's definitely possible.
See, for example:

src/crypto/external/bsd/openssh/dist/sshbuf-misc.c:

```
298         } else if (rr == 0) {
299                 errno = EPIPE;
300                 return SSH_ERR_SYSTEM_ERROR;
```

And, that's on a _read_ operation. :(

-RVP

Reply via email to