HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- sftp - Protocol major versions differ
Operating System - Linux
1827245
Members
2378
Online
109716
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2006 01:50 AM
03-23-2006 01:50 AM
sftp - Protocol major versions differ
I'm attempting to sftp from a RHEL AS3 server to an AIX 4.3 maching and am getting the following message:
"Protocol major versions differ: 2 vs. 1
Couldn't read packet: Connection reset by peer"
However, my versions of sftp are not different. 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.
"Protocol major versions differ: 2 vs. 1
Couldn't read packet: Connection reset by peer"
However, my versions of sftp are not different. 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.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2006 01:56 AM
03-23-2006 01:56 AM
Re: sftp - Protocol major versions differ
Shalom joseph,
The AIX version is extremely old and known to have a lot of bugs.
It should be upgraded.
The RH version is more current, but openssh is at 4.2 right now.
I think your results will be much better if the two versions were based on versions of openssh that were closer togther.
SEP
The AIX version is extremely old and known to have a lot of bugs.
It should be upgraded.
The RH version is more current, but openssh is at 4.2 right now.
I think your results will be much better if the two versions were based on versions of openssh that were closer togther.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2006 05:58 AM
03-23-2006 05:58 AM
Re: sftp - Protocol major versions differ
Check your ssh configuration files for
Red Hat. Protocol is likely set to 2 only.
Check your ssh configuration files for AIX
Likely set to 1 only. This is not secure.
Change to 2 only.
The line for protocol should be
Protocol 2
on both servers. There are two files;
ssh_config and sshd_config. All four
configuration files should have this line.
You may aldo be missing the keys for SSH 2
on on of the servers.
Try ssh -v to see what is being negotiated.
Red Hat. Protocol is likely set to 2 only.
Check your ssh configuration files for AIX
Likely set to 1 only. This is not secure.
Change to 2 only.
The line for protocol should be
Protocol 2
on both servers. There are two files;
ssh_config and sshd_config. All four
configuration files should have this line.
You may aldo be missing the keys for SSH 2
on on of the servers.
Try ssh -v to see what is being negotiated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2006 08:36 AM
03-24-2006 08:36 AM
Re: sftp - Protocol major versions differ
Hi Joseph,
If you cannot configure your AIX SSH server to accept protocol version 2, you still can configure the SSH client on your RHEL.
Copy /etc/ssh/ssh_config to $HOME/.ssh/config, and set Protocol option to :
Protocol 2,1
this will first try v2, and if fails will fall back to v1.
V1 is not so sure as v2, but still better than telnet!!
If you cannot configure your AIX SSH server to accept protocol version 2, you still can configure the SSH client on your RHEL.
Copy /etc/ssh/ssh_config to $HOME/.ssh/config, and set Protocol option to :
Protocol 2,1
this will first try v2, and if fails will fall back to v1.
V1 is not so sure as v2, but still better than telnet!!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP