I have recently been trying to recipher the data being sent by openssh and have a few questions ment to smooth the road some. I am able to send and recieve data up till the password is sent. Once the password is entered the client gets the oh so loved: "Disconnecting: Bad packet length ########." I have added my recipher scheme to work on the streams at packet_read_seqnr and packet_write_poll. Is there a section in the code specifically made to handle the sending of the password that I am not accounting for? Can anyone think of another area data is send or recieved that I will need to had my cipher scheme to? Thanks to all help in advance. Thomas M. DuBuisson Assistant Researcher Center for Secure and Dependable Systems