1

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.

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

1 Answer 1

2

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

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

Not the answer you're looking for? Browse other questions tagged .