From 948ec74b4e391e652bc037ebeee9ea5889f041b3 Mon Sep 17 00:00:00 2001 From: andre-ebert-sva Date: Thu, 5 Dec 2024 14:35:25 +0100 Subject: [PATCH] added enable ssh pw auth --- linux.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/linux.md b/linux.md index 181660f..1361f67 100644 --- a/linux.md +++ b/linux.md @@ -325,4 +325,18 @@ EOF sudo netplan apply ``` + + +
Enable ssh password authentication + +```bash +vi /etc/ssh/sshd_config +# set this variable to yes to allow passwords +PaswordAuthentication yes +# Restart Service +sudo systemctl restart ssh +# Copy public key to remote machine +ssh-copy-id ubuntu@192.168.1.157 +``` +
\ No newline at end of file