I’m getting this issue when I’m trying to connect to the server…
Status: Connecting to example.com:2222… Response: fzSftp started, protocolversion=8 Command: keyfile “~.ssh\idrsa” Command: open “tanner@example.com” 2222 Error: Connection attempt interrupted by user
I used this: https://www.digitalocean.com/community/tutorials/how-to-configure-proftpd-to-use-sftp-instead-of-ftp
I made sure to open port 2222 just in case it was the firewall… anyone else getting this problem? I went through the steps a couple of times again to make sure I didn’t follow them wrong…
I went back and enabled sftp on 22 but I was still getting the same issue on that port.
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!
Generally that error means you’re trying to use the wrong protocol to connect. That guide is setting up SFTP access. If you try to connect using FTP, it will fail.
FileZilla and other clients allow you to choose which protocol you’re wanting to connect with, so you’d need to make sure it’s set to SFTP, not FTP.
@jtittle I forgot to update the thread last night. I was able to SFTP via the IP but not the domain on 22 but not 2222 – which is the port that proftpd should be on right? I just tried right now and wasn’t able to SFTP to the domain.
Slightly off topic but because apache needs permissions for the files I did a chown and unless I chown back to my username it won’t let me edit or upload files… is there a better way to deal with that?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.