From ae149c60578dd5dff4a9ab28ccb7bb0fa73fdd1e Mon Sep 17 00:00:00 2001 From: Cheeks Date: Thu, 4 Jul 2024 22:14:02 +0000 Subject: [PATCH] docs: update home/linux/Setting-Up-Git --- home/linux/Setting-Up-Git.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/home/linux/Setting-Up-Git.md b/home/linux/Setting-Up-Git.md index 94ee679..7909d4e 100644 --- a/home/linux/Setting-Up-Git.md +++ b/home/linux/Setting-Up-Git.md @@ -2,7 +2,7 @@ title: Setting Up Git description: Steps to get up and running with Git published: true -date: 2024-06-30T21:17:08.382Z +date: 2024-07-04T22:14:00.453Z tags: editor: markdown dateCreated: 2024-06-30T20:44:58.238Z @@ -35,3 +35,17 @@ ssh-keygen -t ed25519 cat ~/.ssh/id_ed25519.pub ``` 4. Clone desired repo using ssh + +--- + +# Notes: +In the even you rename the key to something other than `id_rsa`, add config file to .ssh folder +`touch ~/.ssh/config` then add: + +```bash +Host github.com or git server + Hostname github.com + IdentityFile /path/to/privateKey +``` +`stat -c %a keyfile` checks permissions of key if needed, must be 600 +`chmod 600 keyfile` \ No newline at end of file