Solved

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

Posted on 2008-10-29
8
1,666 Views
Last Modified: 2013-12-09
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.
0
Comment
Question by:ts01206
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 22839518
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
 

Author Comment

by:ts01206
ID: 22841092
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
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 250 total points
ID: 22841171
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:ts01206
ID: 22841462
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
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 22841488
As I wrote above, try sftp -1 userid@server
0
 

Author Comment

by:ts01206
ID: 22846155
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
 

Author Closing Comment

by:ts01206
ID: 31618372
Thanks again.
0
 

Expert Comment

by:ReneCrozier
ID: 23339754
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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Reliable application to extract multiple .RAR files 9 77
Freeware realtime AV for Linux RHEL & Ubuntu 9 67
Onpremise file server with cloud synch 1 126
Samba Question 11 107
Over the past decade, as Internet security has become a chief concern of IT professionals, one of the most common questions administrators and users ask is, “Which is more secure, SFTP or FTPS?” In short, both file transfer protocols offer a high…
Outsource Your Fax Infrastructure to the Cloud (And come out looking like an IT Hero!) Relative to the many demands on today’s IT teams, spending capital, time and resources to maintain physical fax servers and infrastructure is not a high priority.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question