From 695aeb2ee9b0572c4f1ab7b96c8634c9b7ab0508 Mon Sep 17 00:00:00 2001 From: Matias Barcenas <5618628+MPX4132@users.noreply.github.com> Date: Wed, 14 Mar 2018 17:24:01 -0500 Subject: [PATCH] Expanded on the manual method of copying the public key. --- Generate-ssh-keys.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Generate-ssh-keys.md b/Generate-ssh-keys.md index 6653cec..7deb9dc 100644 --- a/Generate-ssh-keys.md +++ b/Generate-ssh-keys.md @@ -17,10 +17,14 @@ eval "$(ssh-agent -s)" ssh-add ~/.ssh/id_rsa ``` ## Add key to Github -The easiest way to copy the contents of the public key to your clipboard is to use xclip, but you can also do it manually. +The easiest way to copy the contents of the public key to your clipboard is to use xclip. ``` xclip -sel clip < ~/.ssh/id_rsa.pub ``` +To manually copy the contents to the clipboard, do the following. +``` +gedit ~/.ssh/id_rsa.pub # Select everything, right-click, & copy. +``` **After:** 1. In the upper-right corner of any page, click your profile photo, then click Settings. 2. In the user settings sidebar, click SSH and GPG keys.