Silly question on DH key exch in ssh

Germany MZPERAD9 MZPERAD9 at de.ibm.com
Thu Sep 12 01:02:14 EST 2002


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






More information about the openssh-unix-dev mailing list