Does anyone know the cause for ssh error "Warning: child process (/usr/local/bin/ssh2) exited with code 66."?

We're receiving the following error message after we successfully connect to the remote host via sftp and then attempt to get a file:

Disconnected; protocol error (Protocol error: packet too long: 40580.).
Warning: child process (/usr/local/bin/ssh2) exited with code 66.

We are able to pick up files from this site.  In this particular case, the, if it matters, file size we're attempting to pick up is 1760153 bytes.  Does anyone know what the above error might be caused by and how to resolve it?

Thanks in advance.
ts01206Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

woolmilkporcCommented:
Hi,
what are the ssh protocol versions configured in your sshd_config (server) and on the client side?
Make sure clients and server use the same version (1/2)
On the client side, you can try to force a protocol version by either issuing 'ssh -1 ...' or 'ssh -2 ...'
Which one works (if any)?
Take care that the working version is allowed on both sides ('Protocol' keyword in the config files)
wmp
0
ts01206Author Commented:
I'll find out on the versions.  In the meantime, if we're sftp'ing into the box, we can't specify ssh -1 or -2, correct?
0
woolmilkporcCommented:
Hi,
at least you can specify 'sftp -1' to force protocol version 1. '-2' is not possible, afaik.
And when you have sftp, you do have ssh, too. So you could try the 'ssh' part nevertheless (just to test).
wmp
 
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

ts01206Author Commented:
Ok.  If we use sftp userid@server to connect with, how do you then specify ssh -1 or -2?  In this case, isn't ssh already in use once we connect?  ssh is called by sftp, right?  Also, if this matters, we have exchanged ssh keys and they are in place.
0
woolmilkporcCommented:
As I wrote above, try sftp -1 userid@server
0
ts01206Author Commented:
Ok.  Turns out there was an incompatible version of sftp running on the server we were connecting to.  A patch was applied to sftp and all is well again.  I do appreciate the responses I got from you, wollmilkporc.  Thanks for your help.
0
ts01206Author Commented:
Thanks again.
0
ReneCrozierCommented:
We are experiancing the same issue.  However, we have several applications using or calling different versions of OpenSSH and Tectia SSH.  How do you determine which one needs to be updated?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
File Sharing Software

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.