hello, I'm also developing a ssh application in java and I also got stuck with DH-Key Exchange. I just get to the SSH_MSG_KEXDH_REPLY from the server. But what is he expecting me to send then, as far as I understand the Transport Layer Protcol I should send the SSH_MSG_NEWKEYS message, but that doesn't work. Does anyone know what to send then? (the hint from Markus Friedl with kexdh.c didn't help me much because I'm not familiar with c++ and I could not find a line of code where neither the server is expecting another message after sending SSH_MSG_KEXDH_REPLY nor where the client is sending another message after SSH_MSG_KEXDH_INIT. (before sending SSH_MSG_NEYKEYS)) Thanks a lot, S. Gloeckner
On Wed, Sep 11, 2002 at 05:02:14PM +0200, Germany MZPERAD9 wrote:> hello, > > I'm also developing a ssh application in java and I also got stuck with > DH-Key Exchange. > I just get to the SSH_MSG_KEXDH_REPLY from the server. But what is he > expecting me to send > then, as far as I understand the Transport Layer Protcol I should send the > SSH_MSG_NEWKEYS > message, but that doesn't work. > Does anyone know what to send then?after sending SSH_MSG_KEXDH_REPLY the server sends and expects SSH_MSG_NEWKEYS. -m
Maybe Matching Threads
- Silly question on DH key exch in ssh
- Questions about inferred state machines for OpenSSH
- [Bug 2929] New: OpenSSH server should not send the SSH_MSG_EXT_INFO message after rekeying
- Bug report: first_kex_packet_follows behaviour seems wrong
- Converting SSH2 keys for use in OpenSSH