# sshd of the openssh package (in /opt/openssh). Start it by hand: /opt/openssh/sbin/sshd
# A different port than the system sshd (22), so both can run side by side.
Port 2222
HostKey /opt/openssh/etc/ssh_host_ed25519_key
HostKey /opt/openssh/etc/ssh_host_rsa_key
PidFile /var/run/sshd-modern.pid
# Keys only, no root: put your public key into /home/user/.ssh/authorized_keys first (chmod 700 .ssh, chmod 600 authorized_keys).
PermitRootLogin no
PasswordAuthentication no
KbdInteractiveAuthentication no
AllowUsers user
AuthorizedKeysFile .ssh/authorized_keys
Subsystem sftp /opt/openssh/libexec/sftp-server
