Question

connection closed by 134.256.58.... port 22

Posted February 28, 2019 64.1k views
Linux BasicsNode.js

i’m deploying a site in digital ocean and already have an ip adress and password but when i introduce “root@134.256.25....” and the password appear this error “connection closed by 134.255.265.... port 22”

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.

×
Submit an Answer
2 answers

Hey friend,

This can be caused by many things. Here are some ideas that may help identify the problem:

https://unix.stackexchange.com/questions/19378/ssh-server-reasons-for-sudden-connection-closed-by-remote-host

Jarland

Hello, all

You can use the -vvv argument in the ssh command in order to get more verbose output.

Another thing to check is our tutorial on How to Connect to Droplets with SSH

https://docs.digitalocean.com/products/droplets/how-to/connect-with-ssh/

Regards,
Alex