Added SSH configuration support
This commit is contained in:
parent
f2b1a43f62
commit
e892136c14
4 changed files with 61 additions and 0 deletions
|
@ -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"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue