Added SSH configuration support

This commit is contained in:
JMARyA 2024-12-28 01:34:41 +01:00
parent f2b1a43f62
commit e892136c14
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
4 changed files with 61 additions and 0 deletions

View file

@ -44,3 +44,13 @@ password = "testpass"
# Allow user to use doas as root
doas_root= true
# SSH Configuration
[ssh]
# Config file for sshd
sshd_config = "/etc/ssh/sshd_config"
# Install a SSH key for the user as `authorized_keys`
[[ssh.key]]
key = "ssh-rsa ... user@host"
users = ["testuser", "root"]