Blog

Using SSH Keys to Connect to a Remote Server without Passwords
Posted on January 7, 2016 in Command Line, Linux, Mac by Matt Jennings

  1. If you haven’t done so already, create an SSH key in your Mac by following these steps.
  2. Then follow the steps in this YouTube videoEXCEPT:
    Although this video shows the process using Linux you can do the same things by opening Terminal in your Mac.
    Skip to 1:35 on the video as the earlier part showed how to created an SSH key, which is explained in Step 1.
    Finally, the way to copy one SSH, and NOT all your SSH keys, is the command below which is different than the video, with my_ssh_key being the name of your SSH key (the public version of this key would be my_ssh_key.pub):
    ssh-copy-id -i my_ssh_key

Leave a Reply