Report this

What is the reason for this report?

Connection closed by foreign host

Posted on January 10, 2016

Hi,

Im having a issue with my droplet, i have destroyed droplet many times, reset password thro my account in digital ocean, but still connect in with PuTTy or Xshell5. When i log with password provided in my email i have only one option to change unix password, when i type my password it just close a connection.

“Connection closed by foreign host”

Help will be more than welcome.



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 is a common issue which stems from confusion in the password change process. Here is what happens:

1.) On logging in you are prompted for your temporary password. Entering it this first time logs you in. 2.) Now that you’re logged in the password reset process is started automatically. The first thing it does is verify your current (temporary password). You need to enter your current password a second time. If you do not enter the password correctly here you are logged off with the connection closed message. 3.) Now you are prompted to enter a new password twice.

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.