Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Why does ssh -v say:

debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/<user>/.ssh/id_rsa

This message seems to say that it sends my private key (id_rsa) over the network? But I suspect that I misunderstand what is meant by "Offering" here.

share|improve this question
1  
The message is about public key and it's derived from the private key. –  gronostaj Jul 9 '13 at 9:07
add comment

1 Answer

up vote 6 down vote accepted

It's trying to authenticate automatically via your SSH public key. By default it uses the public counterpart for the key /home/<user>/.ssh/id_rsa. If you had some other key that you would prefer to use, you could do, for example, $ ssh-add /home/<user>/.ssh/other_key.

It's nothing to worry about since only your public key is being sent, which is, by definition, OK to be sent in the open.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.