Changing Your SSH Password Inside of an Ubuntu Server

Changing Your SSH Password inside of an Ubuntu Server

Earlier this week, I ran into a specific problem. I was trying to SSH into an Ubuntu Server, but for some reason my password was not working. After minutes online, I decided to manually enter the password as opposed to copy/pasting. It turns out that my password was for some reason missreading the backtick character. Not sure why this was the case and if anyone knows the answer to this, I’d love to hear more.

After finally getting into the shell, I figured the next step was to change the password to prevent this from happening again. The steps were pretty simple

[code language=”plain”]sudo passwd username

Enter Password

[sudo] password for username:

Enter New Password

Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
[/code]

Hope that helps!

0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *