Hi,
I am currently working with apache sshd library, trying to create an SSH client. To keep the connection alive, I want to send an SSH_MSG_GLOBAL_REQUEST with a keep alive message,
50 00 00 00 15 6b 65 65 70 61 6c 69 76 65 40 6f 70 65 6e 73 73 68 2e 63 6f 6d 01
translating to
P....keepalive@openssh.com,
where P, is just ascii for 0x50, which is the ID of the SSH_MSG_GLOBAL_REQUEST (
https://tools.ietf.org/html/rfc4254)
So the problem I have here is the reply sent from the server (netopeer-server, which uses libssh under the hood) is SSH_MSG_UNIMPLEMENTED and not SSH_MSG_REQUEST_FAILURE, as I would have expected.
So what I would need to know is, when is a server expected to send SSH_MSG_UNIMPLEMENTED and when SSH_MSG_GLOBAL_REQUEST?
BR
Patrik
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)