mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
fix sshd startup
This commit is contained in:
parent
c25f49da5b
commit
46c5ecbf45
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,8 @@ _run ()
|
||||||
_file_rename /etc/archboot/ssh/archboot-key.pub /root/.ssh/archboot-key.pub
|
_file_rename /etc/archboot/ssh/archboot-key.pub /root/.ssh/archboot-key.pub
|
||||||
_file /etc/archboot/ssh/archboot-key.pub
|
_file /etc/archboot/ssh/archboot-key.pub
|
||||||
fi
|
fi
|
||||||
|
# add empty.sshd directory
|
||||||
|
_dir /usr/share/empty.sshd
|
||||||
# switch port to ARCH and disable password login
|
# switch port to ARCH and disable password login
|
||||||
_file_rename /etc/ssh/sshd_config /etc/ssh/sshd_config
|
_file_rename /etc/ssh/sshd_config /etc/ssh/sshd_config
|
||||||
echo "Port 11838" >> "${_ROOTFS}"/etc/ssh/sshd_config
|
echo "Port 11838" >> "${_ROOTFS}"/etc/ssh/sshd_config
|
||||||
|
|
Loading…
Reference in a new issue