From d6bf19766ddcf8c3a1e54bcbbce8fea5308eda78 Mon Sep 17 00:00:00 2001 From: Tai Date: Tue, 26 Jan 2021 16:48:52 -0800 Subject: [PATCH] Update README.md --- initial ubuntu setup/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/initial ubuntu setup/README.md b/initial ubuntu setup/README.md index a355988..d74e033 100644 --- a/initial ubuntu setup/README.md +++ b/initial ubuntu setup/README.md @@ -49,8 +49,12 @@ Optional because you can choose to keep logging in with passwords if you wish. H ``` cd ~ mkdir .ssh +chmod 700 .ssh cd .ssh nano authorized_keys +chmod 6644 authorized_keys +cd ~ +chown -R sammy:sammy .ssh ``` If you'd like to learn how to create an SSH key do so [here](https://github.com/StarWhiz/docker_deployment_notes/tree/master/initial%20ubuntu%20setup/putty%20keys%20tutorial)