Modifying SSH password in secure way

The following is a way to set SSH password in secure way in my understanding. Basically, I added another user, and block “volumio” from ssh connection.
sudo su
adduser pinebud
usermod -a -G sudo pinebud
echo “DenyUsers volumio” >> /etc/ssh/sshd_config

If you want to use volumio account.
connect through pinebud account

sudo su volumio

If you want a more secure SSH, why don’t U use keybased authentication and disable password login?