Report this

What is the reason for this report?

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

Posted on August 10, 2017

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



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.

The WinSCP website contains a great explanation of what causes this error here:

https://winscp.net/eng/docs/message_server_rejected_sftp_listens_for_ftp

The majority of the reasons for the error are that your server must have a running, non-firewalled SSH server and you must use the correct login details i.e. port, username, and password.

Have you installed a dedicated sftp server or are you using an ssh server?

Have you checked the log file on the server? It will usually indicate what is the reason that the connection was refused. For SSH this will be in either:

/var/log/auth.log
/var/log/secure

If you are using a dedicated sftp server would you be able to tell me which one you installed?

I think im useing SSH, havent installed anything. I only have access to the droplet via web and to console.

Nothing else, but i need access to ftp.

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.