Debian box setup
Additional config:
su
useradd -m -s /bin/bash catalin
su
apt install sudo
usermod -aG sudo catalin
Edit /etc/apt/sources.list
and add non-free
to the end of all lines.
sudo apt install openssh-server
Add ssh key to ~/.ssh/authorized_keys
.
Disable SSH password login by setting PasswordAuthentication no
in /etc/ssh/sshd_config
.
ssh-keygen -t ed25519 -a 100
the -a
option specifies the number of KDF (key derivation function) rounds used. Higher numbers result in slower passphrase verification and increased resistance to brute-force password cracking (should the keys be stolen).
sudo apt update
sudo apt install \
apt-transport-https lsb-release \
ca-certificates gnupg2 dirmngr software-properties-common \
curl jq nmap rsync joe vim mc tmux git build-essential xml-twig-tools\
vnstat htop ifmetric lm-sensors bmon tcptrack \
xclip xsel
cd ~
git clone [email protected]:CatalinManolescu/dotfiles.git .dotfiles
cd .dotfiles
./install