Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ssh client_loop send disconnnect from Dom0 -> DomU (NetBSD 10.0_BETA/Xen)



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


Home | Main Index | Thread Index | Old Index