What exactly does ssh send when performing key negotiation?
- by Checkers
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.