mirror of
https://github.com/ArcticFoxes-net/Synapse-Ubuntu-ZFS
synced 2024-11-09 04:11:33 -05:00
Add dropbear config
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
5d176b51a8
commit
ce40d8fc9b
11
etc/zfsbootmenu/dracut.conf.d/dropbear.conf
Normal file
11
etc/zfsbootmenu/dracut.conf.d/dropbear.conf
Normal file
@ -0,0 +1,11 @@
|
||||
# Enable dropbear ssh server and pull in network configuration args
|
||||
add_dracutmodules+=" crypt-ssh "
|
||||
install_optional_items+=" /etc/cmdline.d/dracut-network.conf "
|
||||
# Use dedicated host key
|
||||
dropbear_rsa_key=/etc/dropbear/ssh_host_rsa_key
|
||||
dropbear_ecdsa_key=/etc/dropbear/ssh_host_ecdsa_key
|
||||
dropbear_ed25519_key=/etc/dropbear/ssh_host_ed25519_key
|
||||
# User zbmuser is the authorized unlocker here
|
||||
dropbear_acl=/home/authorized_keys
|
||||
# Change dropbear port
|
||||
dropbear_port=22
|
Loading…
Reference in New Issue
Block a user