2023/01/29
how to setup passwordless SSH login:
ssh-copy-id $(whoami)@${other_host}
https://linuxize.com/post/how-to-setup-passwordless-ssh-login/
how to change a ubuntu machine’s computer’s hostname:
echo "new-hostname" > sudo tee /etc/hostname;
sudo sed -i 's/old-hostname/new-hostname/1' /etc/hosts;
sudo hosname 'new-hostname'; # <- for changes to take effect prior to reboot
h/t https://www.howtogeek.com/197934/how-to-change-your-hostname-computer-name-on-ubuntu-linux/