sftp is not working, and ftp is not working!!!

When connecting with sftp: server ip: ******* username: root password: rootpassword port: 22 sftp It says The server rejected SFTP connection, but it listens for FTP connections.

Did you want to use FTP protocol instead of SFTP? Prefer using encryption.

When i try to connect with ftp, it wont, how the hell i can connect with ftp? This is plain stupid

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.

Got it, somebody have changed the port to 2500 Now is another problem at least i can see logs and so. Mysql isnt respondig, or starting up. ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)

Read some where that it could be the case of full disc on the droplet and after restart the mysql server did not startup for some reason.

Where can i find the cache catalog or tmp that i can delete for freeing up some space?

Hello, uukmari

You can also examine the /var/log/messages in addition to that /var/log/secure/ log in order to check if there is a logged error.

You can also temporary open the sshd on custom port in order to debug the connection with this command:

/usr/sbin/sshd -p $different_port -ddd

Note: Change $different_port with an actual port, e.g 7895

You need to execute the command from the server and then you can ssh or connect via SFTP client and check the logged information on the ssh client you used to execute the command.

Hope that this helps! Regards, Alex

Hey, yes, im able to SSH into console, and everything. How can i see witch ports are open? sudo netstat -plutn | grep 22?