This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision |
lwc:linux:setup [2021/09/20 19:28] – [As created user] John Harrison | lwc:linux:setup [2021/10/19 20:06] (current) – John Harrison |
---|
* ''sudo apt install emacs-nox'' | * ''sudo apt install emacs-nox'' |
* if root has correct public cert: | * if root has correct public cert: |
* ''sudo cp /root/.ssh/authorized_keys ~/.ssh/. && chown $USER:$USER authorized_keys'' | * ''mkdir -p ~/.ssh && sudo cp /root/.ssh/authorized_keys ~/.ssh/. && sudo chown $USER:$USER ~/.ssh/authorized_keys'' |
* otherwise: | * otherwise: |
* ''mkdir .ssh && chdir .ssh && emacs -nw authorized_keys'' | * ''mkdir .ssh && chdir .ssh && emacs -nw authorized_keys'' |
* add public rsa | * add public rsa |
* logout, login to test that cert is working | * logout, login to test that cert is working |
* ''sudo emacs -nw /etc/ssh/sshd.conf'' and change ''PasswordAuthentication'' from ''yes'' to ''no'' | * ''sudo emacs -nw /etc/ssh/sshd_config'' and change ''PasswordAuthentication'' from ''yes'' to ''no'' |
* ''sudo systemctl restart sshd.service'' | * ''sudo systemctl restart sshd.service'' |
* copy ''.emacs'' and ''.emacs/d'' from somewhere else... | * in home directory <code>git clone https://whyameye@bitbucket.org/whyameye/.emacs.d.git</code> |
| ==== Optional ==== |
| * consider [[lwc:linux:postfix|setting up a postfix smtp relay]] |