#!/bin/sh

pw user add developer -m

mkdir /home/developer/.ssh
echo ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG/iEXB0kNlZwNgeGiA3opNy+Ga37LyU94nups7fkYUY ed25519-key-20190618 > /home/developer/.ssh/authorized_keys

vipw

chown -R developer:www /home/developer/.ssh
chmod 700 /home/developer/.ssh
chmod 600 /home/developer/.ssh/authorized_keys
