Tuesday, January 7, 2020

Disallowing password authentication on your VPS

Video
Commands used in video
ssh-keygen

ssh student@13.89.50.27 (Be sure to use your own ip address)

sudo nano /etc/ssh/sshd_config

sudo /etc/init.d/ssh reload

exit

ssh -o PubkeyAuthentication=no student@13.89.50.27

ssh student@13.89.50.27