Try   HackMD

basic isard vm's setup

server

sudo hostnamectl set-hostname server
grep " server$" /etc/hosts || sudo sed -i -e '$a127.0.0.1 server' /etc/hosts
sudo update-alternatives --set editor /usr/bin/vim.basic
sudo sed -i '/^%sudo/ s/ALL$/NOPASSWD: ALL/'  /etc/sudoers

client

IP_SERVER=10.23.100.254
#(no idempotent) sudo sed -i '/^%sudo/ s/ALL$/NOPASSWD: ALL/'  /etc/sudoers
sudo sed -i '/^%sudo/ c\%sudo   ALL=(ALL:ALL) NOPASSWD: ALL'   /etc/sudoers
sudo update-alternatives --set editor /usr/bin/vim.basic
sudo hostnamectl set-hostname desktop
grep " desktop$" /etc/hosts || sudo sed -i -e '$a127.0.0.1 desktop' /etc/hosts
alias ssh='ssh -o StrictHostKeyChecking=accept-new'
ssh-keygen -t ed25519 -C "isard" -N "" -f ~/.ssh/isard
ssh-copy-id -i ~/.ssh/isard $IP_SERVER
ssh $IP_SERVER