1

This question already has an answer here:

how can I add an SSH-key generated from a computer of a friend to my server?

Currently I don't have access to his computer he just sent me his SSH key.

marked as duplicate by Arronical, karel, Panther, Community Feb 22 '18 at 15:29

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Easiest method is ssh-copy-id from the duplicate – Panther Feb 22 '18 at 15:26
2

You just have to append the key to the ~/.ssh/authorized_keys file in your server

  • ssh-copy-id is easier and more automated =) – Panther Feb 22 '18 at 15:27
  • @Panther yes but "Currently I don't have access to his computer he just sent me his SSH key." – Félicien Feb 22 '18 at 15:29

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