I am trying to host my website using a droplet and I am using Cyberduck on MacOSX. While setting up the SFTP I get receive a “connection failed” alert and it reads, “EOF while reading packet”.
When I tried on FileZilla it responds with: Error: Connection closed by server with exitcode 1 Error: Could not connect to server
I searched around for help and I could not find anything helpful (I’m a novice).
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!
figured it out. after i ssh’d to the account it prompted me to change the password which later worked in FTP.
For me the problem was an incorrect path in my /etc/ssh/sshd_config.
I had:
Subsystem sftp /usr/lib/ssh/sftp-server
which didn’t exist. I needed:
Subsystem sftp /usr/lib/openssh/sftp-server
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.