Using SSH Keys to Connect to a Remote Server without Passwords
Posted on January 7, 2016 in Command Line, Linux, Mac by Matt Jennings
- If you haven’t done so already, create an SSH key in your Mac by following these steps.
- Then follow the steps in this YouTube video, EXCEPT:
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
ssh-copy-id -i my_ssh_key email@example.com
Leave a Reply