Second Steps (Buster)

From Hexwiki
Revision as of 18:21, 21 January 2021 by Vekseid (talk | contribs)
Jump to navigation Jump to search

After we're finished with IPMI.

  • Setup private key in ~/.ssh/authorized_keys for admin account

I have grown used to vim, lately, so:

  • apt-get install vim vim-doc exuberant-ctags
    • Heretics may substitute this with their inferior editor of choice
  • update-alternatives --config editor
  • Set PasswordAuthentication no in /etc/ssh/sshd_config
  • systemctl restart ssh
  • After verifying I can sign in, I set the admin's password to something incomprehensible.
  • /etc/vim/vimrc
    • I turn on most every option, except for skip-defaults, compatible, ignorecase, and smartcase. I also add set hlsearch to add search highlighting.
  • I uncomment set mouse in /etc/nanorc as well. I sometimes am training people and teaching both vim and some other arcane topic at the same time is usually rather much.
  • /etc/resolv.conf
search invalid
nameserver ::1
nameserver 1.1.1.1
nameserver 8.8.8.8
  • Localhost (we'll setup unbound in a bit), Cloudflare, and Google. If your host provides their own DNS servers, those will be slightly better.