-   Linux - Software (
-   -   sftp - Protocol major versions differ (

jwholey 03-23-2006 09:01 AM

sftp - Protocol major versions differ
I'm attempting to sftp from a RHEL AS3 server to an AIX 4.3 server and am getting the following message:

"Protocol major versions differ: 2 vs. 1
Couldn't read packet: Connection reset by peer"

However, my protocol versions appear to be the same. Please view the output of ssh -V:

RHEL: OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090701f

AIX: OpenSSH_3.0.2p1, SSH protocols 1.5/2.0, OpenSSL 0x0090603f

Any ideas why this would be happening? thx.

timmeke 03-23-2006 09:06 AM

In the /etc/sshd/sshd.conf file on the AIX machine, does it say that Protocol 2 is supported?

jwholey 03-24-2006 07:40 AM

Yes. It does.

timmeke 03-24-2006 09:47 AM

Does the SSH client support SSH2 too?

jwholey 03-25-2006 04:06 AM

Yes it does.

timmeke 03-27-2006 01:01 AM

Then the conclusion seems to be that the 2 different versions of OpenSSH can't talk to each other properly.
Can you establish other kinds of connections (ie ftp, http, etc)?
If you can't, this can indicate a failure for instance in the wiring.

In any case, you might want to consider upgrading to the latest version of OpenSSH.
There are quite some security holes patched since your versions were released:

All times are GMT -5. The time now is 03:55 PM.