How to add an ssh key from other computer to my Ubuntu server [duplicate]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite













This question already has an answer here:



  • How do I add SSH Keys to authorized_keys file?

    9 answers



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.










share|improve this question













marked as duplicate by Arronical, karel, Panther, Community♦ Feb 22 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 at 15:26














up vote
1
down vote

favorite













This question already has an answer here:



  • How do I add SSH Keys to authorized_keys file?

    9 answers



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.










share|improve this question













marked as duplicate by Arronical, karel, Panther, Community♦ Feb 22 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 at 15:26












up vote
1
down vote

favorite









up vote
1
down vote

favorite












This question already has an answer here:



  • How do I add SSH Keys to authorized_keys file?

    9 answers



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.










share|improve this question














This question already has an answer here:



  • How do I add SSH Keys to authorized_keys file?

    9 answers



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.





This question already has an answer here:



  • How do I add SSH Keys to authorized_keys file?

    9 answers







server ssh remote remote-access






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 22 at 13:39









HCK

1085




1085




marked as duplicate by Arronical, karel, Panther, Community♦ Feb 22 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.






marked as duplicate by Arronical, karel, Panther, Community♦ Feb 22 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 at 15:26
















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















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




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










1 Answer
1






active

oldest

votes

















up vote
2
down vote



accepted










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






share|improve this answer




















  • ssh-copy-id is easier and more automated =)
    – Panther
    Feb 22 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 at 15:29

















1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
2
down vote



accepted










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






share|improve this answer




















  • ssh-copy-id is easier and more automated =)
    – Panther
    Feb 22 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 at 15:29














up vote
2
down vote



accepted










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






share|improve this answer




















  • ssh-copy-id is easier and more automated =)
    – Panther
    Feb 22 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 at 15:29












up vote
2
down vote



accepted







up vote
2
down vote



accepted






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






share|improve this answer












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







share|improve this answer












share|improve this answer



share|improve this answer










answered Feb 22 at 13:48









Félicien

8471516




8471516











  • ssh-copy-id is easier and more automated =)
    – Panther
    Feb 22 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 at 15:29
















  • ssh-copy-id is easier and more automated =)
    – Panther
    Feb 22 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 at 15:29















ssh-copy-id is easier and more automated =)
– Panther
Feb 22 at 15:27




ssh-copy-id is easier and more automated =)
– Panther
Feb 22 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 at 15:29




@Panther yes but "Currently I don't have access to his computer he just sent me his SSH key."
– Félicien
Feb 22 at 15:29


Popular posts from this blog

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error

How do I move numbers in filenames, in a batch renaming operation?