This shows you the differences between two versions of the page.
|
isc:labs:11 [2026/01/12 10:49] florin.stancu [00 [0p]. Users] |
isc:labs:11 [2026/01/12 10:52] (current) florin.stancu [00 [0p]. Users] |
||
|---|---|---|---|
| Line 19: | Line 19: | ||
| </code> | </code> | ||
| - | Then, create ''/etc/ssh/sshd_config.d/50-gpgusers.conf'' and put: | + | Then, create ''/etc/ssh/sshd_config.d/50-gpgusers.conf'' (don't forget ''sudo'' ;) ) and put: |
| <code> | <code> | ||
| Match User "red" | Match User "red" | ||
| Line 28: | Line 28: | ||
| PasswordAuthentication yes | PasswordAuthentication yes | ||
| </code> | </code> | ||
| + | |||
| + | Finally, ''sudo systemctl restart sshd''. | ||
| <note tip> | <note tip> | ||