Search code examples
linuxubuntusshsystempublic-key

Multiple keys for connect SSH Ubuntu 18.04. How to use?


Now I already have ssh key authorization. How can I add another key (my partner's key) so that my friend can ssh to the server using his key?


Solution

  • you have to add his public key in authorized_keys folder under ~/.ssh folder

    .ssh it should be under that user who is going to login