Connection closed by foreign host


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.

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.