Hm, kex protocol error: type 30 seq 2

From: Steven Wilmot (steven-news@wilmot.me.uk)
Date: 11/15/02

  • Next message: Darren Tucker: "Re: ssh -N bypasses command="command" in authorized_keys"

    From: "Steven Wilmot" <steven-news@wilmot.me.uk>
    Date: Fri, 15 Nov 2002 01:59:57 -0000
    
    

    I'm trying to write something that will talk SSHv2

    I've got to the KeyExchange section, and am receiving "Hm, kex protocol
    error: type 30 seq 2"

    Can anyone help.

    The binary packet (payload only) that I'm trying to send is

    <<< PACKET: MSG_KEXINIT
    <<< Length: 168
     1E 00 00 00 00 00 00 00 -- 00 00 00 00 00 00 00 00
     00 00 00 00 07 73 73 68 -- 2D 64 73 73 00 00 00 07
     73 73 68 2D 64 73 73 00 -- 00 00 08 33 64 65 73 2D
     63 62 63 00 00 00 08 33 -- 64 65 73 2D 63 62 63 00
     00 00 1B 6E 6F 6E 65 2C -- 68 6D 61 63 5F 73 68 61
     31 2C 68 6D 61 63 5F 73 -- 68 61 31 5F 39 36 00 00
     00 1B 6E 6F 6E 65 2C 68 -- 6D 61 63 5F 73 68 61 31
     2C 68 6D 61 63 5F 73 68 -- 61 31 5F 39 36 00 00 00
     09 6E 6F 6E 65 2C 7A 6C -- 69 62 00 00 00 09 6E 6F
     6E 65 2C 7A 6C 69 62 00 -- 00 00 02 45 4E 00 00 00
     02 45 4E 01 00 00 00 00

    The main question is: What argument is it talking about by saying "SEQ 2" ?

    Steven