Report this

What is the reason for this report?

It always closes the connection

Posted on May 2, 2020

If I log in to the ubuntu server via ssh, type in the password from the mail everything works fine. But as soon as I type in my new password, where it says "(current) UNIX password: ", I am losing the connection and it says “Connection to 167.71.xxx.xxx 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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

This does not work for me either.

When I do access the Access, it doesnt show any password.

The only option is to reset root password, which doesnt change the error i’m having.

Please advise.

Hi @kaanekici,

You’ll need first need to enter the current password of your Droplet and then type in the new one. If you are not sure of the password, you can take it from the Control Panel --> Your Droplet —> Access.

Regards, KDSys

I had the exact same problem. Most likely your droplet has an issue in /root/.bashrc file.

  1. Go to “Recovery” and change your boot source to ISO.

  2. Turn off and on your droplet.

  3. Got to “Access” and launch Recovery Console.

  4. Mount your disk by selecting 1 and select 6 to access your file.

  5. In my case, /root/.bashrc was located at /mnt/root/.bashrc

  6. Recover your .bashrc and exit Recovery Console.

  7. Go to “Recover” and change your boot source back to Hard Disk.

  8. Turn off and on your droplet.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.