how to change ssh password code example
Example 1: login to ssh with password
ssh -o PasswordAuthentication=yes user@hostname
Example 2: how to set up password ssh access askubuntu
PasswordAuthentication yes
PermitRootLogin yes
ssh -o PasswordAuthentication=yes user@hostname
PasswordAuthentication yes
PermitRootLogin yes