From d9def617afee35f5aa0a59e201e3700141cd167d Mon Sep 17 00:00:00 2001 From: whitney Date: Sat, 21 Sep 2024 23:28:55 -0700 Subject: [PATCH] Update README --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 84c8d7a..55f41c2 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,8 @@ Olomana, the web server will be a significant upgrade over its predecessor. I am ### Software #### OpenSSH + +##### Server ``` sudo apt-get install openssh-server ``` @@ -39,6 +41,9 @@ sudo ufw enable sudo ufw allow 22 sudo ufw reload ``` + +##### Client Setup +If a client will be connecting to this server and you're configuring it now, follow the next steps to configure that client. On the client, generate a new SSH key ``` ssh-keygen -t rsa -C "your-email@example.com" @@ -49,7 +54,7 @@ Host 192.168.1.xxx User olomana IdentityFile ~/.ssh/id_rsa ``` -On the server, edit `/etc/ssh/sshd_config` to disable password authentication so users must use ssh key. +On the server, edit `/etc/ssh/sshd_config` to disable password authentication so users must use ssh key to connect. ``` PasswordAuthentication no PubkeyAuthentication yes