When I trying to connect via ssh to localhost as root, ssh don't accept my current password. How can I reset ssh password?
This is an extra security step: if an invader knows or discovers the user password, he can
That said, if you want to disable this behaviour, edit
On the machine you want to log into, as a non-root user, type:
And you'll be prompted for a new password (after you type your own non-root password)
One little note: there's no such thing as an ‘ssh password’. SSH (unless you set it up in very specific ways, all of which are fairly complex and totally beyond the scope of the question), authenticates against the standard Unix user database (