What exactly does ssh send when performing key negotiation?
        Posted  
        
            by Checkers
        on Server Fault
        
        See other posts from Server Fault
        
            or by Checkers
        
        
        
        Published on 2010-05-18T04:04:22Z
        Indexed on 
            2010/05/18
            4:11 UTC
        
        
        Read the original article
        Hit count: 419
        
When explicitly specifying identity file to ssh:
ssh -i ./id_rsa ...
I have these lines in ssh debug trace:
debug1: Offering public key: ./id_rsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
Does it mean ssh-generated id_rsa contains public RSA exponent as well, or ssh is sending out my private key? (which, of course, does not make sense). id_rsa format seems to be rather explicit that it contains private key with its "BEGIN PRIVATE KEY" block.
© Server Fault or respective owner