Skip to content

Commit

Permalink
added enable ssh pw auth
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-ebert-sva committed Dec 5, 2024
1 parent b1c795f commit 948ec74
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,4 +325,18 @@ EOF
sudo netplan apply
```

</details>

<details><summary><b>Enable ssh password authentication</b></summary>

```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 [email protected]
```

</details>

0 comments on commit 948ec74

Please sign in to comment.