By ivainfraad
Hi guys anybody have the same issue.
I have done the password reset last day.
When I try to access the console by web. It says “All Configured Authentication Method Failed”.
When I try to login through putty or terminal.It says me to enter the password I received in email. After entering it. It asks for new password & Retype it, After retyping the password the connection to my domain automatically closed.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @ivainfraad,
This could be a problem with spawning a shell because of incorrect settings for the shell path in /etc/passwd
To check this, determine that your user shell path exists and is executable;
# cat /etc/passwd | grep Username
username:x:1000:1000:Tom H:/home/username:/bin/bash <-- check this exists
Check shell exists:
# file /bin/bash
/bin/bash: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically
linked (uses shared libs), for GNU/Linux 2.6.32, stripped
also, check that the shell is not set to either /sbin/nologin or /bin/false, which would also block login, even with a successful authentication.
You can enter your Droplet using the Recovery Console. You can follow this documentation on how to enter your into your Droplet:
https://docs.digitalocean.com/products/droplets/resources/recovery-console/
Basically, you’ll reset your root password and use it via the root user on the Recovery console to connect to it. Once inside you can see what’s causing the exact issue and what happened with the upgrade.
Additionally, try using an SSH key to enter your droplets rather than a password.
Hello, @ivainfraad
Once you have received your new password you can either ssh to the droplet using your ssh client or access the droplet using the DigitalOcean console:
https://www.digitalocean.com/docs/droplets/resources/console/
From the DigitalOcean Control Panel, first click the name of the Droplet you want to access, then select Access from the left navigation. Click the Launch Console button to open a web-based console session.
When the console opens, click the console screen and press ENTER to ensure that the login prompt has focus. At the login prompt, enter the user you want to log in as. This is typically the root user or a user configured with sudo privileges.
When prompted, enter the password associated with the account. For security purposes, your password will not be displayed on the screen as you type or paste it into the command line.
Once you’ve entered the password, press ENTER. If this is the first time you’ve logged in after resetting the root password through the control panel, you are prompted to enter the password again, then asked to choose a new password.
Once you’ve successfully entered your credentials you should be logged in to your Droplet.
You can also check our tutorial here:
https://docs.digitalocean.com/products/droplets/resources/reset-root-password
Hope that helps! Regards, Alex
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.