I need to send an SSH key to other people, is it safe to use a file sharing site like mediafire to upload and share the key?
Asked
Active
Viewed 119 times
0
-
3You should never send a private key, under any circumstances. – SLaks Jan 01 '17 at 20:45
-
1And public key is safe to share in any way. It's _meant_ to be shared. – Sergio Tulentsev Jan 01 '17 at 20:47
-
@carminezaccagnino: in this case, copy it on a flash drive and give it to them in person. But whatever you plan do to, there is certainly a better way than sharing the private key. – Sergio Tulentsev Jan 01 '17 at 20:49
-
1@carminezaccagnino: You shouldn't give it to people you trust either. Instead, you should trust their public keys so they can use their own private keys the way you use yours. – SLaks Jan 01 '17 at 20:57
1 Answers
1
I need to send it to people I know and trust, and it doesn't give them access to root
You don't need to. Tell them to generate their own key (ssh-keygen
) and send you the public key. Set the public key to the server and let them connect.

Jakuje
- 24,773
- 12
- 69
- 75