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? id_rsa
format seems to be rather explicit that it contains private key with its "BEGIN PRIVATE KEY" block, so "offering public key" must mean something other than "sending out the public key to the server".
EDIT:
To clarify, I want to know what exactly is going on behind the "offering public key" line. If the client holds multiple keys, they all will be offered to the server one by one.