lwc:linux:setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
lwc:linux:setup [2021/09/20 19:28] – [As created user] John Harrisonlwc:linux:setup [2021/10/19 20:06] (current) John Harrison
Line 10: Line 10:
   * ''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]]
  • lwc/linux/setup.1632184098.txt.gz
  • Last modified: 2021/09/20 19:28
  • by John Harrison