Report this

What is the reason for this report?

SFTP on CentOS 7 w/Webmin

Posted on December 17, 2015

So far I have managed to install CentOS 7 and Webmin. I have followed this guide in attempt to replace my FTP with SFTP… https://www.digitalocean.com/community/tutorials/how-to-configure-proftpd-to-use-sftp-instead-of-ftp

For now FTP is still running and working, yet SFTP isn’t. I am getting the following error… Status: Connecting to 000.000.000.000:2222… Response: fzSftp started, protocol_version=4 Command: keyfile “C:\Users\Public\Documents\Server Keys\Private.ppk” Command: open “sftpuser@000.000.000.000” 2222 Error: Network error: Connection refused

I have added my ip address into the iptables and I am allowed to connect to any port so I don’t believe this is the problem.

I have however changed the SSH port by default from 22 to port 121, will have have any effect?



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.

I have however changed the SSH port by default from 22 to port 121, will have have any effect?

SFTP uses SSH to connect to your server. If you’ve changed the default SSH port, make sure to change that in your FTP client as well.

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.