SSH server config - omartek/linux_variePerLaboratorio GitHub Wiki
Abilitare/disabilitare accesso root
useradd -m username usermod -aG sudo username
usermod --shell /bin/bash username
Creazione delle chiavi e invio alla VPS
ssh-keygen ssh-copy-id username@IPaddress_remote_host
sudo nano /etc/ssh/sshd_config PermitRootLogin no
sudo systemctl restart ssh.service
https://www.redhat.com/sysadmin/manage-multiple-ssh-key-pairs
ssh -i ~/.ssh/id_somehubs user@host