Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools Build a Simple Website Launching the Website Uploading Content

reardelt
reardelt
8,030 Points

Illegal sftp packet len when using sftp in cyberduck

I have searched around and the problem usually lies with the echo statement in the bashrc file. But I do not have the bashrc file. What maybe the issue here?

1 Answer

James Barnett
James Barnett
39,199 Points

A quick Google of your error message brought me to the cyberduck FAQ

Which mentions ...

> Enable ssh access on your server. Use the sftp command in a terminal to verify sftp username@domain_name. It'll ask for your password. If you don't have ssh access, you'll get Received message too long, hence the error msg in Cyberduck.


So make sure you have SSH access for whatever server you are attempting to SFTP into. If you don't know if your account has SSH enabled open a ticket with your hosting company.

A few things to check ...

  • You are using the correct username/password for SSH it may be different then one used to log into cpanel, email, ftp.
  • Double check that your SFTP client's ssh version matches that of the server