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