LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-23-2006, 09:01 AM   #1
jwholey
LQ Newbie
 
Registered: Mar 2006
Posts: 19

Rep: Reputation: 0
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.
 
Old 03-23-2006, 09:06 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
In the /etc/sshd/sshd.conf file on the AIX machine, does it say that Protocol 2 is supported?
 
Old 03-24-2006, 07:40 AM   #3
jwholey
LQ Newbie
 
Registered: Mar 2006
Posts: 19

Original Poster
Rep: Reputation: 0
Yes. It does.
 
Old 03-24-2006, 09:47 AM   #4
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Does the SSH client support SSH2 too?
 
Old 03-25-2006, 04:06 AM   #5
jwholey
LQ Newbie
 
Registered: Mar 2006
Posts: 19

Original Poster
Rep: Reputation: 0
Yes it does.
 
Old 03-27-2006, 01:01 AM   #6
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
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:
http://www.openssh.com/security.html
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I use sftp to upload my web site? (no sftp tar command) johnMG Linux - Networking 6 06-21-2005 09:14 PM
Files truncated by sftp/sftp-server at 65kb gato Linux - Networking 1 12-18-2003 10:29 AM
How does Fedora differ from RH9? Big Al Fedora 10 11-12-2003 10:13 AM
RHEL 3.0 -- major application versions glock19 Red Hat 4 10-04-2003 08:02 AM
Unsupported protocol 'Compression Control Protocol' (0x80fd) received RKris Linux - Software 0 08-21-2002 08:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration