SSH passwordless ubuntu

Generate key on xshell or putty and put it into authorized_keys: nano .ssh/authorized_keys nano /etc/ssh/sshd_config.d/50-cloud-init.conf Change PasswordAuthentication to no Reload sshd config: systemctl reload sshd