NetBSD/distrib/evbarm/instkernel/sshramdisk/sshd_config
garbled 4daade7385 Add a new installer image for Raspberry PI to evbarm
Includes the following major changes:

1) Add new configmenu item to sysinst to allow creation of users at
post-install time.
2) Add an sshramdisk type to evbarm, which is a ramdisk with sshd
enabled, allowing users to install on a headless PI by sshing to the
device with the account "sysinst" password "netbsd" to begin the
installation. (Note, neither the account, nor the ssh setup are copied to
the finalized installation image)
3) Change mkimage to build a boot-only image, without the root filesystems.

Much of the sshramdisk code could be reused on other ports easily.
2013-03-19 22:16:52 +00:00

21 lines
497 B
Plaintext

# $NetBSD: sshd_config,v 1.1 2013/03/19 22:16:53 garbled Exp $
# Special cut-down sshd_config for sshramdisk
# Tim Rightnour <garbled@NetBSD.org>
#Port 22
#AddressFamily any
#ListenAddress 0.0.0.0
#ListenAddress ::
#Protocol 2
#HostKey /etc/ssh/ssh_host_dsa_key
LoginGraceTime 600
# needed because sysinst is uid 0
PermitRootLogin yes
AuthorizedKeysFile .ssh/authorized_keys
PasswordAuthentication yes
# just in case
PermitEmptyPasswords yes
UsePrivilegeSeparation sandbox
AllowUsers pi sysinst