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_conf
and changePasswordAuthentication
fromyes
tono
sudo systemctl restart sshd.service
- copy
.emacs
and.emacs/d
from somewhere elseā¦
Postfix email relay
To set up with AWS SES follow these directions but use port 2587 instead of 587 on Linode as 587 is blocked
- postfix should be set up with no configuration. When you do this, there are instructions given at the end to copy some sort of sample configuration.
- to reconfigure:
sudo dpkg-reconfigure postfix
- to reload the settings:
sudo postfix stop; sudo postfix start; sudo postfix reload
- when testing
tail -f /var/log/mail.log
is your friend