This is an old revision of the document!
As root
apt update apt upgrade export NU=USER adduser $NU usermod -aG sudo $NU
As created user
- sudo apt install emacs-nox
- if root has correct public cert:- mkdir -p ~/.ssh && sudo cp /root/.ssh/authorized_keys ~/.ssh/. && sudo chown $USER:$USER ~/.ssh/authorized_keys
 
- otherwise:- mkdir .ssh && chdir .ssh && emacs -nw authorized_keys
- add public rsa
 
- logout, login to test that cert is working
- sudo emacs -nw /etc/ssh/sshd_configand change- PasswordAuthenticationfrom- yesto- no
- sudo systemctl restart sshd.service
- copy.emacsand.emacs/dfrom somewhere elseā¦
Optional
- consider setting up a postfix smtp relay