recovering SSH2 sessions while knowing the key and how to have it

Markus Friedl markus at openbsd.org
Mon Mar 18 07:11:21 EST 2002


On Thu, Mar 14, 2002 at 10:22:31AM -0500, Anton Chuvakin wrote:
> I want to do a weird thing with my openssh daemon for the honeypot setup.
> Namely, I want it to covertly broadcast the session key, so that, upon
> sniffing the session, the contents can be recovered.

for protocol 1 all you need is
	session_key[] from sshd.c
for protocol 2 you have to check
	derive_key() from kex.c



More information about the openssh-unix-dev mailing list