Mailing List Archive

Help decoding ssh packet capture
I'm trying to find an RFC or something else definitive that will
explicitly define, when an ssh client tries to establish a connection
to an ssh server, packet by packet, from initial host negotiation to
defining encryption schemes to full encryption.   I then want to
compare that step-by-step authoritative guide to what I see in my
packet sniffer.

Thanks for any leads.

Scott
Re: Help decoding ssh packet capture [ In reply to ]
On Sun, Mar 21, 2010 at 05:16, Scott Ehrlich <srehrlich@gmail.com> wrote:
> I'm trying to find an RFC or something else definitive that will
> explicitly define, when an ssh client tries to establish a connection
> to an ssh server, packet by packet, from initial host negotiation to
> defining encryption schemes to full encryption.   I then want to
> compare that step-by-step authoritative guide to what I see in my
> packet sniffer.

I would suggest that the log from ssh -vvv will probably be more
useful to you, been a while since I looked at SSH in a packet capture
but I suspect that the packets will all be very generic (i.e. there
won't be any explicit notation of WHAT a particular packet is WRT the
SSH protocol).

You should be able to use the timestamps from the log to associate the
packets with each step and between the two you should get a pretty
good idea of what's going on.
Re: Help decoding ssh packet capture [ In reply to ]
>Scott Ehrlich:
> I'm trying to find an RFC or something else definitive that will
> explicitly define, when an ssh client tries to establish a connection
> to an ssh server, packet by packet, from initial host negotiation to
> defining encryption schemes to full encryption. I then want to
> compare that step-by-step authoritative guide to what I see in my
> packet sniffer.
>
> Thanks for any leads.
This should get you started

http://www.networksorcery.com/enp/default1004.htm
Re: Help decoding ssh packet capture [ In reply to ]
Hi Scott,

There's "SSH: the Definitive Guide" on Google books as well.

http://books.google.com/books?id=JFa5aLIII6oC

Cheers,
--scm


On Sat, Mar 20, 2010 at 2:16 PM, Scott Ehrlich <srehrlich@gmail.com> wrote:
> I'm trying to find an RFC or something else definitive that will