Answer the question
In order to leave comments, you need to log in
How to safely use id_rsa private keys?
If I created an id_rsa and transferred it to both github and some project hosts, is it unsafe?
Probably any user of the host will be able to read the key and use it to get into my repository, is that so?
Answer the question
In order to leave comments, you need to log in
id_rsa should not be given to anyone, on the contrary, it should be kept secret.
It is necessary to give id_rsa.pub
Having only id_rsa.pub it is extremely difficult to get id_rsa and access to your resources - this is a fundamental property of an asymmetric cryptosystem.
Another thing is that repositories are not encrypted in any way, so hosting owners and hackers will still be able to read the source code.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question