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
- 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 my_ssh_key.pub
):
ssh-copy-id -i my_ssh_key 1d1b173300052c0d281f381901231b01062440072e05
Leave a Reply