From 92c3f204758293f4ed50ca252da4e013ee087a05 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 24 Oct 2023 10:49:35 -0600 Subject: [PATCH] Update development SSH key transfer instructions --- development/README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/development/README.md b/development/README.md index 75fa625..c3fa563 100644 --- a/development/README.md +++ b/development/README.md @@ -46,10 +46,9 @@ In order to clone the LUCI repos you will need an ssh key on the Docker image yo Note: you can find your `` with the command `docker ps` 1. Join the Docker image -2. From the root directory make a .ssh folder `mkdir ~/.ssh` -3. On your dev machine in a new terminal transfer both the private and public ssh key you use for github and or bitbucket -`docker cp personal_github.pub :/root` -`docker cp personal_github :/root` -4. Go back to the docker image and inform it of the new ssh keys `eval 'ssh-agent'` then `ssh-add personal_github` (Note that I am adding the private key) +2. On your dev machine in a new terminal transfer both the private and public ssh key you use for github and or bitbucket +`docker cp .pub :/root` +`docker cp :/root` +3. Go back to the docker image and inform it of the new ssh keys `exec ssh-agent bash` then `ssh-add ` (Note that I am adding the private key) From there you should be able to run git clone in that terminal. Newly opened terminals may require running step 4 again. \ No newline at end of file